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§
Sourcefn into_error(self) -> Error
fn into_error(self) -> Error
Convert the type into Error
.