Struct juniper::ExecutionError
[−]
[src]
pub struct ExecutionError { /* fields omitted */ }
Error type for errors that occur during query execution
All execution errors contain the source position in the query of the field that failed to resolve. It also contains the field stack.
Methods
impl ExecutionError
[src]
fn error(&self) -> &FieldError
[src]
The error message
fn location(&self) -> &SourcePosition
[src]
The source location in the query of the field that failed to resolve
fn path(&self) -> &[String]
[src]
The path of fields leading to the field that generated this error
Trait Implementations
impl Debug for ExecutionError
[src]
impl PartialEq for ExecutionError
[src]
fn eq(&self, __arg_0: &ExecutionError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ExecutionError) -> bool
[src]
This method tests for !=
.
impl Eq for ExecutionError
[src]
impl PartialOrd for ExecutionError
[src]
fn partial_cmp(&self, other: &ExecutionError) -> Option<Ordering>
[src]
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Ord for ExecutionError
[src]
fn cmp(&self, other: &ExecutionError) -> Ordering
[src]
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.22.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.22.0[src]
Compares and returns the minimum of two values. Read more