/** * Base error for all other errors used in application * Extending application error simplifies error handling and reporting */ export declare abstract class ApplicationException extends Error { cause?: unknown; context?: Record; /** * DO NOT PROPAGATE TO CLIENT */ internalContext?: Record; protected constructor(message: string, cause?: unknown); withContext(context: Record): this; withInternalContext(context: Record): this; } //# sourceMappingURL=application.exception.d.ts.map