IntoError

Trait IntoError 

Source
pub trait IntoError {
    // Required method
    fn into_error(self) -> Error;
}
Expand description

A trait for types that can be converted into Error, a GraphQL HTTP Response error.

Required Methods§

Source

fn into_error(self) -> Error

Convert the type into Error.

Implementors§

Source§

impl IntoError for Error

Source§

impl<T> IntoError for T
where T: Error,