SubscriptionOperationException

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

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

This typically happens if there is a validation error. This is a terminal event.

Parameters

operationName

the name of the subscription that triggered the error.

payload

the payload returned by the server.

Constructors

Link copied to clipboard
fun SubscriptionOperationException(operationName: String, payload: Any? = null)

Properties

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