UNPKG

@thalorlabs/errors

Version:

Enhanced exception handling system for TypeScript applications with comprehensive error classes and debugging capabilities

16 lines (15 loc) 611 B
import CustomError from './CustomError'; /** * Error for authentication timeout scenarios. * * Used when authentication sessions expire or timeout. * Provides clear 440 error responses with optional timeout context. * * @example * throw new AuthenticationTimeoutError('Session expired', 'timeout', 'req-123'); * * throw new AuthenticationTimeoutError('Authentication timeout', null, 'req-456', { timeoutMs: 30000 }); */ export declare class AuthenticationTimeoutError extends CustomError { constructor(message?: string, error?: string | null, requestId?: string, context?: Record<string, any>); }