Trait juniper::executor::IntoFieldError [−][src]
pub trait IntoFieldError<S = DefaultScalarValue> { }
Expand description
Custom error handling trait to enable Error types other than FieldError
to be specified
as return value.
Any custom error type should implement this trait to convert it to FieldError
.
Implementations on Foreign Types
impl<S> IntoFieldError<S> for Infallible
[src]
impl<S> IntoFieldError<S> for Infallible
[src]fn into_field_error(self) -> FieldError<S>
[src]
Implementors
impl<S1: ScalarValue, S2: ScalarValue> IntoFieldError<S2> for FieldError<S1>
[src]
impl<S1: ScalarValue, S2: ScalarValue> IntoFieldError<S2> for FieldError<S1>
[src]