GraphQLRequestEncodingException

class GraphQLRequestEncodingException(val operationName: String, val requestType: Type, message: String, cause: Throwable? = null) : GraphQLTransportCodecException(source)

Thrown when GraphQLTransportCodec.encodeRequest fails to serialize a request.

Carries the operation and type context needed by runtime code to build a useful error message or log entry.

Constructors

Link copied to clipboard
constructor(operationName: String, requestType: Type, message: String, cause: Throwable? = null)

Properties

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

The operation name of the failed request.

Link copied to clipboard

The complete Type of the failed request, including generic arguments.