Skip to main content

Class: HttpError

Extends

  • Error

Constructors

new HttpError()

new HttpError(response, message): HttpError

Parameters

response: Response

message: string

Returns

HttpError

Overrides

Error.constructor

Properties

cause?

optional cause: unknown

Inherited from

Error.cause


message

message: string

Inherited from

Error.message


name

name: string

Inherited from

Error.name


response

readonly response: Response


stack?

optional stack: string

Inherited from

Error.stack

Accessors

status

get status(): number

Returns

number