class HTTPError

extends

Error
export declare class HTTPError extends Error

Represents a HTTP error

Constructors

constructor(
status: number
method: string
url: string
bodyData: Pick<InternalRequest, 'body' | 'files'>
)

Constructs a new instance of the HTTPError class

method : string

name : string

requestBody : RequestBody

status : number

url : string