Interface ErrorMessageFactory.ErrorContext
- All Known Implementing Classes:
InvocationContext
- Enclosing interface:
ErrorMessageFactory
public static interface ErrorMessageFactory.ErrorContext
Holds the respective
GenericInteractionCreateEvent and InteractionDefinition of an error.-
Method Summary
Modifier and TypeMethodDescriptionTheInteractionDefinitionthat models the interaction of theevent().net.dv8tion.jda.api.events.interaction.GenericInteractionCreateEventevent()TheGenericInteractionCreateEventin whose execution the error occurred.
-
Method Details
-
event
net.dv8tion.jda.api.events.interaction.GenericInteractionCreateEvent event()TheGenericInteractionCreateEventin whose execution the error occurred. -
definition
InteractionDefinition definition()TheInteractionDefinitionthat models the interaction of theevent().
-