Package org.javacord.core.util.exception
-
Interface Summary Interface Description DiscordExceptionInstantiator<T extends DiscordException> Represents a function that accepts four arguments (Exception
,String
,RestRequest<?>
andRestRequestResult
) and produces a discord exception of typeT
. -
Class Summary Class Description DiscordExceptionValidatorImpl Validates if discord exceptions are from the correct type.