Class EventSocketDeleteSubscriptionFailureEvent
java.lang.Object
com.github.twitch4j.eventsub.socket.events.EventSocketDeleteSubscriptionFailureEvent
Called when an EventSocket fails to delete a subscription via the Helix API.
-
Constructor Summary
ConstructorDescriptionEventSocketDeleteSubscriptionFailureEvent
(EventSubSubscription subscription, TwitchEventSocket connection, Throwable error) Creates a newEventSocketDeleteSubscriptionFailureEvent
instance. -
Method Summary
-
Constructor Details
-
EventSocketDeleteSubscriptionFailureEvent
public EventSocketDeleteSubscriptionFailureEvent(EventSubSubscription subscription, TwitchEventSocket connection, Throwable error) Creates a newEventSocketDeleteSubscriptionFailureEvent
instance.- Parameters:
subscription
- The subscription that was attempted to be deleted.connection
- The EventSocket attempting to delete the subscription.error
- The exception associated with the deletion failure.
-
-
Method Details
-
getSubscription
The subscription that was attempted to be deleted. -
getConnection
The EventSocket attempting to delete the subscription. -
getError
The exception associated with the deletion failure. -
equals
-
hashCode
public int hashCode() -
toString
-