DiscordAPIErrorSummaryRepresents an API error returned by Discord Errorexport declare class DiscordAPIError extends Error ExtendsErrorConstructorconstructor(rawError, code, status, method, url, bodyData)Constructs a new instance of the DiscordAPIError classNameTypeOptionalDescriptionrawErrorDiscordErrorData | OAuthErrorDataNoThe error reported by Discordcodenumber | stringNoThe error code reported by DiscordstatusnumberNoThe status code of the responsemethodstringNoThe method of the request that erredurlstringNoThe url of the request that erredbodyDataPick<InternalRequest, 'files' | 'body'>NoThe unparsed data for the request that erroredPropertiescode:number | stringmethod:stringReadonlyname:stringThe name of the errorrawError:DiscordErrorData | OAuthErrorDatarequestBody:RequestBodystatus:numberurl:string