Skip to content

HTTPError

classe · Source

Represents an HTTP error from a request.

Extends: Error

Properties

name

name: string

The name of the error Source

code

code: number

HTTP error code returned from the request Source

method

method: string

The HTTP method used for the request Source

path

path: string

The path of the request relative to the HTTP endpoint Source

requestData

requestData: HTTPErrorData

The data associated with the request that caused this error Source

Unofficial software. Not affiliated with or supported by Discord.