HttpErrorType: {
    body: JsonObject;
    code?: number;
    headers?: Record<string, any>;
    message: string;
    method: MethodType;
    name?: string;
    originalRequest?: ClientRequest;
    retryCount?: number;
    status?: number;
    statusCode: number;
    [key: string]: any;
}

Type declaration

  • [key: string]: any
  • body: JsonObject
  • Optional code?: number
  • Optional headers?: Record<string, any>
  • message: string
  • method: MethodType
  • Optional name?: string
  • Optional originalRequest?: ClientRequest
  • Optional retryCount?: number
  • Optional status?: number
  • statusCode: number