UNPKG

@thalorlabs/errors

Version:

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

16 lines (15 loc) 645 B
import CustomError from './CustomError'; /** * Error for not implemented functionality. * * Used when requested functionality is not yet implemented or available. * Provides clear 501 error responses with optional implementation context. * * @example * throw new NotImplementedError('Feature not implemented', 'coming-soon', 'req-123'); * * throw new NotImplementedError('Method not supported', null, 'req-456', { method: 'PATCH', endpoint: '/api/users' }); */ export declare class NotImplementedError extends CustomError { constructor(message?: string, error?: string | null, requestId?: string, context?: Record<string, any>); }