import { Id } from "./Id.js"; import { Enum } from "./Enum.js"; import { Text } from "./Text.js"; //#region src/types/Exception.d.ts export declare class Exception extends Enum { readonly message: string; readonly reason?: Text | undefined; static readonly AlreadyExists: Exception; static readonly DoesNotExist: Exception; static readonly IsMissingId: Exception; static readonly IsNotImplemented: Exception; static readonly IsNotValid: Exception; static readonly Unknown: Exception; constructor(message: string, id?: Id, reason?: Text | undefined); static readonly CouldNotExecute: (target: Text) => Exception; static readonly CouldNotValidate: (target: Text) => Exception; static readonly EnvironmentVariableNotFound: (variable: Text) => Exception; because: (reason: Text) => Exception; } export declare const isException: (e?: unknown, t?: Text) => e is Exception; export declare const isDoesNotExist: (e?: unknown) => e is Exception; //#endregion //# sourceMappingURL=Exception.d.ts.map