Struct juniper_graphql_ws::ErrorPayload
source · [−]pub struct ErrorPayload { /* private fields */ }
Expand description
A payload for errors that can happen before execution. Errors that happen during execution are
instead sent to the client via DataPayload
. ErrorPayload
is a wrapper for an owned
GraphQLError
.
Implementations
Returns the contained GraphQLError.
Trait Implementations
Performs the conversion.