Class EventSocketSubscriptionFailureEvent

java.lang.Object
com.github.twitch4j.eventsub.socket.events.EventSocketSubscriptionFailureEvent

public final class EventSocketSubscriptionFailureEvent extends Object
Called when an EventSocket fails to register subscription with the Helix API.
  • Constructor Details

  • Method Details

    • getSubscription

      public EventSubSubscription getSubscription()
      The subscription that was attempted to be created.
    • getConnection

      public TwitchEventSocket getConnection()
      The EventSocket attempting to create the subscription.
    • getError

      public Throwable getError()
      The exception associated with the subscription failure.
    • willRetry

      public boolean willRetry()
      Whether the library will automatically try to create the subscription again (at the next reconnect).
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object