Skip to main content

IntoGraphqlError

Trait IntoGraphqlError 

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

Conversion into a coded, redaction-safe GraphQL error.

Required Methods§

Source

fn into_graphql_error(self) -> Error

Convert, logging and redacting server-side detail.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl IntoGraphqlError for AutumnError

Implementors§