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 message(&self) -> &str
The error message
fn location(&self) -> &SourcePosition
The source location in the query of the field that failed to resolve
fn path(&self) -> &[String]
The path of fields leading to the field that generated this error
Trait Implementations
impl Debug for ExecutionError
[src]
impl PartialOrd for ExecutionError
[src]
fn partial_cmp(&self, __arg_0: &ExecutionError) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, __arg_0: &ExecutionError) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, __arg_0: &ExecutionError) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, __arg_0: &ExecutionError) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, __arg_0: &ExecutionError) -> bool
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, __arg_0: &ExecutionError) -> Ordering
This method returns an Ordering
between self
and other
. Read more
impl PartialEq for ExecutionError
[src]
fn eq(&self, __arg_0: &ExecutionError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ExecutionError) -> bool
This method tests for !=
.