class DiscordAPIError

extends

Error
declare class DiscordAPIError extends Error

Represents an API error returned by Discord

code : number | string

method : string

readonly
name : string

The name of the error

requestBody : RequestBody

status : number

url : string