[−][src]Enum async_graphql::QueryError
An error processing a GraphQL query.
Variants
The feature is not supported.
The actual input type did not match the expected input type.
Fields of ExpectedInputType
Parsing of an input value failed.
Fields of ParseInputValue
reason: String
The reason for the failure to resolve.
A field was not found on an object type.
operation_name
in the request was required but not provided.
The operation name was unknown.
Fields of UnknownOperationNamed
name: String
Operation name for query.
The user attempted to query an object without selecting any subfields.
Fields of MustHaveSubFields
object: String
Object name
The schema does not have mutations.
The schema does not have subscriptions.
The value does not exist in the enum.
A required field in an input object was not present.
A variable is used but not defined.
Fields of VarNotDefined
var_name: String
Variable name
A directive was required but not provided.
Fields of RequiredDirectiveArgs
An unknown directive name was encountered.
Fields of UnknownDirective
name: String
Directive name
An unknown fragment was encountered.
Fields of UnknownFragment
name: String
Fragment name
The query was too complex.
The query was nested too deep.
A field handler errored.
Fields of FieldError
err: String
The error description.
extended_error: Option<Value>
Extensions to the error provided through the ErrorExtensions
or ResultExt
traits.
Entity not found.
"__typename" must be an existing string.
Implementations
impl QueryError
[src]
pub fn into_error(self, pos: Pos) -> Error
[src]
Convert this error to a regular Error
type.
Trait Implementations
impl Debug for QueryError
[src]
impl Display for QueryError
[src]
impl Error for QueryError
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn description(&self) -> &str
1.0.0[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl PartialEq<QueryError> for QueryError
[src]
fn eq(&self, other: &QueryError) -> bool
[src]
fn ne(&self, other: &QueryError) -> bool
[src]
impl StructuralPartialEq for QueryError
[src]
Auto Trait Implementations
impl RefUnwindSafe for QueryError
impl Send for QueryError
impl Sync for QueryError
impl Unpin for QueryError
impl UnwindSafe for QueryError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,