UNPKG

@bernierllc/logging

Version:

A comprehensive logging package with Winston integration for audit and system logging

12 lines 453 B
export type LoggingErrorCode = 'LOGGING_ERROR' | 'INVALID_INPUT' | 'OPERATION_FAILED'; export interface LoggingErrorOptions { cause?: Error; code?: LoggingErrorCode; context?: Record<string, unknown>; } export declare class LoggingError extends Error { readonly code: LoggingErrorCode; readonly context?: Record<string, unknown>; constructor(message: string, options?: LoggingErrorOptions); } //# sourceMappingURL=errors.d.ts.map