SubscriptionOperationException

class SubscriptionOperationException(operationName: String, val payload: Any?) : ApolloException

The server could not process a subscription and sent an error.

This typically happens if there is a validation error.

Parameters

operationName

the name of the subscription that triggered the error.

payload

the payload returned by the server.

Constructors

Link copied to clipboard
constructor(operationName: String, payload: Any?)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?
Link copied to clipboard
val payload: Any?