UNPKG

nestjs-http-wrapper

Version:

A wrapper for NestJS HttpService to standardize requests and error handling.

14 lines (13 loc) 304 B
export declare class ErrorResponseDto { message: string; status: number; provider: string; response?: any; code?: string; [key: string]: any; } export interface ErrorFormatConfig { customMessage?: string; customCode?: string; additionalFields?: Record<string, any>; }