[][src]Trait async_graphql::ErrorExtensions

pub trait ErrorExtensions where
    Self: Sized
{ fn extend(&self) -> FieldError; fn extend_with<C>(self, cb: C) -> FieldError
    where
        C: FnOnce(&Self) -> Value
, { ... } }

Required methods

fn extend(&self) -> FieldError

Provided methods

fn extend_with<C>(self, cb: C) -> FieldError where
    C: FnOnce(&Self) -> Value

Implementations on Foreign Types

impl<'_, E: Display> ErrorExtensions for &'_ E[src][]

Implementors