export declare class AppError extends Error { /** * HTTP status code associated with the error, indicating the nature of the failure. */ readonly status: number; /** * A short, unique error code for identifying the error type. */ readonly code: TErrorCode; /** * A detailed, human-readable description of the error. Provides additional context * and, if applicable, steps to resolve the issue. */ readonly description?: string; /** * An optional URI linking to a document or resource with more information about the error. */ readonly uri?: string; /** * An array of additional error details or nested errors that occurred during the process. */ readonly additionalErrors: Record[]; constructor(status: number, code: TErrorCode, options?: TAppErrorOptions); } export interface TAppErrorOptions { uri?: string; description?: string; additionalErrors?: Record[]; } export type TErrorCode = `#ERR_${string}`; //# sourceMappingURL=AppError.d.ts.map