@inox-tools/content-utils
Version:
Utilities to work with content collections on an Astro project from an integration or library.
21 lines (20 loc) • 661 B
JavaScript
// ../../node_modules/.pnpm/astro@6.0.8_patch_hash=34ac88963a271f59948954a697fdf4850409d163faae6f020d77c206005cacc4_56ef74df68d6f52f1172372917928199/node_modules/astro/dist/core/errors/errors.js
var AstroUserError = class extends Error {
type = "AstroUserError";
/**
* A message that explains to the user how they can fix the error.
*/
hint;
name = "AstroUserError";
constructor(message, hint) {
super();
this.message = message;
this.hint = hint;
}
static is(err) {
return err?.type === "AstroUserError";
}
};
export { AstroUserError };
//# sourceMappingURL=chunk-4ZDJCWDV.js.map
//# sourceMappingURL=chunk-4ZDJCWDV.js.map