Enum async_graphql::ParseRequestError [−][src]
#[non_exhaustive]
pub enum ParseRequestError {
Io(Error),
InvalidRequest(Box<dyn Error + Send + Sync>),
InvalidFilesMap(Box<dyn Error + Send + Sync>),
InvalidMultipart(Error),
MissingOperatorsPart,
MissingMapPart,
NotUpload,
MissingFiles,
PayloadTooLarge,
UnsupportedBatch,
}
Expand description
An error parsing the request.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Io(Error)
An IO error occurred.
Tuple Fields of Io
0: Error
The request’s syntax was invalid.
The request’s files map was invalid.
InvalidMultipart(Error)
The request’s multipart data was invalid.
Tuple Fields of InvalidMultipart
0: Error
Missing “operators” part for multipart request.
Missing “map” part for multipart request.
It’s not an upload operation
Files were missing the request.
The request’s payload is too large, and this server rejected it.
The request is a batch request, but the server does not support batch requests.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for ParseRequestError
impl Send for ParseRequestError
impl Sync for ParseRequestError
impl Unpin for ParseRequestError
impl !UnwindSafe for ParseRequestError
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. 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