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] 
impl ExecutionErrorpub fn at_origin(error: FieldError) -> ExecutionError[src] 
pub fn at_origin(error: FieldError) -> ExecutionErrorConstruct a new execution error occuring at the beginning of the query
impl ExecutionError[src] 
impl ExecutionErrorpub fn error(&self) -> &FieldError[src] 
pub fn error(&self) -> &FieldErrorThe error message
pub fn location(&self) -> &SourcePosition[src] 
pub fn location(&self) -> &SourcePositionThe source location in the query of the field that failed to resolve
pub fn path(&self) -> &[String][src] 
pub fn path(&self) -> &[String]The path of fields leading to the field that generated this error
Trait Implementations
impl Debug for ExecutionError[src] 
impl Debug for ExecutionErrorfn fmt(&self, f: &mut Formatter) -> Result[src] 
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for ExecutionError[src] 
impl PartialEq for ExecutionErrorfn eq(&self, other: &ExecutionError) -> bool[src] 
fn eq(&self, other: &ExecutionError) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &ExecutionError) -> bool[src] 
fn ne(&self, other: &ExecutionError) -> boolThis method tests for !=.
impl Eq for ExecutionError[src] 
impl Eq for ExecutionErrorimpl PartialOrd for ExecutionError[src] 
impl PartialOrd for ExecutionErrorfn partial_cmp(&self, other: &ExecutionError) -> Option<Ordering>[src] 
fn partial_cmp(&self, other: &ExecutionError) -> Option<Ordering>This method returns an ordering between self and other values if one exists. Read more
#[must_use]
fn lt(&self, other: &Rhs) -> bool1.0.0[src] 
#[must_use]
fn lt(&self, other: &Rhs) -> boolThis method tests less than (for self and other) and is used by the < operator. Read more
#[must_use]
fn le(&self, other: &Rhs) -> bool1.0.0[src] 
#[must_use]
fn le(&self, other: &Rhs) -> boolThis method tests less than or equal to (for self and other) and is used by the <= operator. Read more
#[must_use]
fn gt(&self, other: &Rhs) -> bool1.0.0[src] 
#[must_use]
fn gt(&self, other: &Rhs) -> boolThis method tests greater than (for self and other) and is used by the > operator. Read more
#[must_use]
fn ge(&self, other: &Rhs) -> bool1.0.0[src] 
#[must_use]
fn ge(&self, other: &Rhs) -> boolThis method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Ord for ExecutionError[src] 
impl Ord for ExecutionErrorfn cmp(&self, other: &ExecutionError) -> Ordering[src] 
fn cmp(&self, other: &ExecutionError) -> OrderingThis method returns an Ordering between self and other. Read more
fn max(self, other: Self) -> Self1.21.0[src] 
fn max(self, other: Self) -> SelfCompares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self1.21.0[src] 
fn min(self, other: Self) -> SelfCompares and returns the minimum of two values. Read more
impl Serialize for ExecutionError[src] 
impl Serialize for ExecutionErrorAuto Trait Implementations
impl Send for ExecutionError
impl Send for ExecutionErrorimpl Sync for ExecutionError
impl Sync for ExecutionError