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
ParseError(Spanning<ParseError<'a>>)ValidationError(Vec<RuleError>)NoOperationProvidedMultipleOperationsProvidedUnknownOperationName
Trait Implementations
impl<'a> Serialize for GraphQLError<'a>[src]
impl<'a> Serialize for GraphQLError<'a>fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer, [src]
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer, Serialize this value into the given Serde serializer. Read more
impl<'a> Debug for GraphQLError<'a>[src]
impl<'a> Debug for GraphQLError<'a>fn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<'a> PartialEq for GraphQLError<'a>[src]
impl<'a> PartialEq for GraphQLError<'a>fn eq(&self, other: &GraphQLError<'a>) -> bool[src]
fn eq(&self, other: &GraphQLError<'a>) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &GraphQLError<'a>) -> bool[src]
fn ne(&self, other: &GraphQLError<'a>) -> boolThis method tests for !=.
impl<'a> From<Spanning<ParseError<'a>>> for GraphQLError<'a>[src]
impl<'a> From<Spanning<ParseError<'a>>> for GraphQLError<'a>fn from(f: Spanning<ParseError<'a>>) -> GraphQLError<'a>[src]
fn from(f: Spanning<ParseError<'a>>) -> GraphQLError<'a>Performs the conversion.
Auto Trait Implementations
impl<'a> Send for GraphQLError<'a>
impl<'a> Send for GraphQLError<'a>impl<'a> Sync for GraphQLError<'a>
impl<'a> Sync for GraphQLError<'a>