Enum juniper::GraphQLError [] [src]

pub enum GraphQLError<'a> {
    ParseError(Spanning<ParseError<'a>>),
    ValidationError(Vec<RuleError>),
    NoOperationProvided,
    MultipleOperationsProvided,
    UnknownOperationName,
}

An error that prevented query execution

Variants

Trait Implementations

impl<'a> Serialize for GraphQLError<'a>
[src]

Serialize this value into the given Serde serializer. Read more

impl<'a> Debug for GraphQLError<'a>
[src]

Formats the value using the given formatter.

impl<'a> PartialEq for GraphQLError<'a>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'a> From<Spanning<ParseError<'a>>> for GraphQLError<'a>
[src]

Performs the conversion.