//#region ../notifications/src/errors.d.ts /** * Domain errors for `@warlock.js/notifications`. All extend `Error` directly * (no framework HttpError) so the package stays runtime-agnostic — the host * app maps them to its own error shape via `instanceof` if needed. * * Each captures a clean V8 stack (drops the Error-constructor frame) to match * the cascade convention. */ declare class NotificationsNotConfiguredError extends Error { constructor(); } declare class ChannelNotFoundError extends Error { constructor(channelName: string); } declare class NoQueueDispatcherError extends Error { constructor(channelName: string); } declare class MissingRendererError extends Error { constructor(notificationType: string, channelName: string); } /** * Thrown when a channel's `route()` resolver runs but returns `undefined` for * a recipient (e.g. a mail recipient with no email). Distinct from "the * channel declares no resolver" — that case falls back to `{ id }`. */ declare class UnresolvableRouteError extends Error { constructor(channelName: string, recipientId?: unknown); } //#endregion export { ChannelNotFoundError, MissingRendererError, NoQueueDispatcherError, NotificationsNotConfiguredError, UnresolvableRouteError }; //# sourceMappingURL=errors.d.mts.map