HttpErrorType: {
    body?: JsonObject;
    code?: string;
    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
  • Optionalbody?: JsonObject
  • Optionalcode?: string
  • Optionalheaders?: Record<string, any>
  • Optionalmessage?: string
  • method: MethodType
  • Optionalname?: string
  • OptionaloriginalRequest?: ClientRequest
  • OptionalretryCount?: number
  • Optionalstatus?: number
  • statusCode: number