import { AppErrStatus } from "./status-DU_qbx63.cjs"; //#region src/app/result/error.d.ts declare class AppError extends Error { readonly status: AppErrStatus; private constructor(); static NotFound: (msg?: string) => AppError; static Unauthorized: (msg?: string) => AppError; static InvalidData: (msg?: string) => AppError; static InvalidOperation: (msg?: string) => AppError; static AlreadyExists: (msg?: string) => AppError; static GuardViolation: (msg?: string) => AppError; static GenericDomain: (msg?: string) => AppError; static Generic: (msg: string) => AppError; static fromErr: (e: Error) => AppError; } //#endregion //# sourceMappingURL=error.d.ts.map export { AppError }; //# sourceMappingURL=error-D7qO4VVN.d.cts.map