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.
Implementations
Get the appropriate status code of the error.
Trait Implementations
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