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 Type
    Method
    Description
    The InteractionDefinition that models the interaction of the event().
    net.dv8tion.jda.api.events.interaction.GenericInteractionCreateEvent
    The GenericInteractionCreateEvent in whose execution the error occurred.
  • Method Details

    • event

      net.dv8tion.jda.api.events.interaction.GenericInteractionCreateEvent event()
      The GenericInteractionCreateEvent in whose execution the error occurred.
    • definition

      InteractionDefinition definition()
      The InteractionDefinition that models the interaction of the event().