Interface RequestError

Hierarchy

  • Error
    • RequestError

Properties

cause?: Error
error?: Error
message: string
name: string
response?: {
    body: {
        message: string;
    };
    error?: Error;
    statusCode: number;
    text: string;
}

Type declaration

  • body: {
        message: string;
    }
    • message: string
  • Optional error?: Error
  • statusCode: number
  • text: string
stack?: string

Generated using TypeDoc