Package net.dv8tion.jda.api.exceptions
package net.dv8tion.jda.api.exceptions
All custom exceptions of the JDA library
-
ClassDescriptionIndicates that an operation is not possible unless the
AccountTypematches the one provided inAccountTypeException.getRequiredType()Used to pass a context to async exception handling for debugging purposes.Utility class to simplify error handling withRestActionsandErrorResponses.Indicates an unhandled error that is returned by Discord API Request usingRestAction
It holds anErrorResponseAn error for aErrorResponseException.SchemaError.Schema error which supplies more context to a ErrorResponse.Indicates that the user is missing aPermissionfor some action.Exception caused by the failure ofReplyAction.Indicates that the user is missing theVIEW_CHANNELorVOICE_CONNECTpermission.Indicates that the currently logged in account does not meet the specifiedPermissionfromPermissionException.getPermission()Indicates that we received a429: Too Many Requestsresponse