Class SubscriptionMessageError
-
- All Implemented Interfaces:
public final class SubscriptionMessageError extends GraphQLSubscriptionMessage
Failed subscription operation message response. Terminates the operation and no further message will be sent.
-
-
Constructor Summary
Constructors Constructor Description SubscriptionMessageError(String id, List<GraphQLServerError> payload)
-
Method Summary
Modifier and Type Method Description StringgetType()final StringgetId()final List<GraphQLServerError>getPayload()-
-
Constructor Detail
-
SubscriptionMessageError
SubscriptionMessageError(String id, List<GraphQLServerError> payload)
- Parameters:
id- unique subscription idpayload- GraphQL errors encountered during subscription execution
-
-
Method Detail
-
getPayload
final List<GraphQLServerError> getPayload()
-
-
-
-