pub enum GraphQLError {
MissingQuery,
BodyRead(String),
InvalidJson(String),
Parse(String),
}Available on crate feature
async-graphql only.Expand description
Errors that can occur while parsing GraphQL HTTP requests.
Variants§
Trait Implementations§
Source§impl Debug for GraphQLError
impl Debug for GraphQLError
Source§impl Responder for GraphQLError
impl Responder for GraphQLError
Source§fn into_response(self) -> Response
fn into_response(self) -> Response
Converts the implementing type into an HTTP response.
Auto Trait Implementations§
impl Freeze for GraphQLError
impl RefUnwindSafe for GraphQLError
impl Send for GraphQLError
impl Sync for GraphQLError
impl Unpin for GraphQLError
impl UnwindSafe for GraphQLError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more