errorCode property
The error code of this response.
If Discord sets its own status code, this can be found here. Otherwise, this is equal to statusCode.
Implementation
int get errorCode => errorData?.errorCode ?? statusCode;
The error code of this response.
If Discord sets its own status code, this can be found here. Otherwise, this is equal to statusCode.
int get errorCode => errorData?.errorCode ?? statusCode;