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
AccountType
matches the one provided inAccountTypeException.getRequiredType()
Used to pass a context to async exception handling for debugging purposes.Utility class to simplify error handling withRestActions
andErrorResponses
.Indicates an unhandled error that is returned by Discord API Request usingRestAction
It holds anErrorResponse
An error for aErrorResponseException.SchemaError
.Schema error which supplies more context to a ErrorResponse.Indicates that the user is missing aPermission
for some action.Exception caused by the failure ofReplyAction
.Indicates that the user is missing theVIEW_CHANNEL
orVOICE_CONNECT
permission.Indicates that the currently logged in account does not meet the specifiedPermission
fromPermissionException.getPermission()
Indicates that we received a429: Too Many Requests
response