Function graphql_error

Source
pub fn graphql_error(message: &'static str, code: StatusCode) -> Error
Expand description

A convenience function to create a GraphQL error with predictable extension props