Struct async_graphql_warp::BadRequest [−][src]
pub struct BadRequest(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 BadRequest
impl Send for BadRequest
impl Sync for BadRequest
impl Unpin for BadRequest
impl !UnwindSafe for BadRequest
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