Package net.dv8tion.jda.api.exceptions
Class ErrorResponseException.ErrorCode
- java.lang.Object
-
- net.dv8tion.jda.api.exceptions.ErrorResponseException.ErrorCode
-
- Enclosing class:
- ErrorResponseException
public static class ErrorResponseException.ErrorCode extends Object
An error for aErrorResponseException.SchemaError
.
This provides the machine parsable error code name and the human readable message.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCode()
The machine parsable error codeString
getMessage()
The human readable explanation message for this errorString
toString()
-