@inox-tools/content-utils
Version:
Utilities to work with content collections on an Astro project from an integration or library.
21 lines (20 loc) • 660 B
JavaScript
// ../../node_modules/.pnpm/astro@5.12.0_patch_hash=895775bbfdbe16954cf40a9d53bd1f1b451f595c13167116b675e2bdc118ff0_d7b446834be7871a3e9c0bf3a72301d5/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-BSNWH4X2.js.map
//# sourceMappingURL=chunk-BSNWH4X2.js.map