UNPKG

sanity-plugin-seo-tools

Version:

> Upgrading from V2 to V3 is a breaking change. The `seo-tools` input has been replaced by a SEO pane which needs to be set-up using a custom desk structure as per the installation guide. Secondly, the previously automatically provided fields (focus keywo

14 lines (13 loc) 488 B
function _instanceof(left, right) { if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) { return !!right[Symbol.hasInstance](left); } else { return left instanceof right; } } export function extractErrorMessage(error) { if (typeof error === "string") return error; if (typeof error === "object" && _instanceof(error, Error)) return error.message; return String(error); } //# sourceMappingURL=extractErrorMessage.js.map