UNPKG

@nexica/nestjs-trpc

Version:
8 lines (7 loc) 384 B
export declare class ErrorHandler { private static readonly logger; static logError(context: string, message: string, error?: unknown): void; static logWarning(context: string, message: string, details?: unknown): void; static logInfo(context: string, message: string): void; static createError(context: string, message: string, originalError?: unknown): Error; }