Struct async_graphql_warp::GraphQLBadRequest [−][src]
pub struct GraphQLBadRequest(pub ParseRequestError);
Expand description
Bad request error.
It’s a wrapper of async_graphql::ParseRequestError
. It is also a Reply
- by default it just
returns a response containing the error message in plain text.
Tuple Fields
0: ParseRequestError
Implementations
Get the appropriate status code of the error.
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for GraphQLBadRequest
impl Send for GraphQLBadRequest
impl Sync for GraphQLBadRequest
impl Unpin for GraphQLBadRequest
impl !UnwindSafe for GraphQLBadRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more