Package net.dv8tion.jda.api.exceptions
All custom exceptions of the JDA library
-
Class Summary Class Description ContextException.ContextConsumer ErrorHandler Utility class to simplify error handling withRestActionsandErrorResponses.ErrorResponseException.ErrorCode An error for aErrorResponseException.SchemaError.ErrorResponseException.SchemaError Schema error which supplies more context to a ErrorResponse. -
Exception Summary Exception Description AccountTypeException Indicates that an operation is not possible unless theAccountTypematches the one provided inAccountTypeException.getRequiredType()ContextException Used to pass a context to async exception handling for debugging purposes.ErrorResponseException Indicates an unhandled error that is returned by Discord API Request usingRestAction
It holds anErrorResponseGuildUnavailableException Deprecated. This will be removed in favor of a better system which does not keep unavailable guilds in cache in the first place.HierarchyException HttpException InsufficientPermissionException Indicates that the user is missing aPermissionfor some action.InteractionFailureException Exception caused by the failure ofReplyAction.MissingAccessException Indicates that the user is missing theVIEW_CHANNELorVOICE_CONNECTpermission.ParsingException PermissionException Indicates that the currently logged in account does not meet the specifiedPermissionfromPermissionException.getPermission()RateLimitedException Indicates that we received a429: Too Many RequestsresponseVerificationLevelException Deprecated.