Module actix_web::error

source ·
Expand description

Error and Result module

Structs

General purpose actix web error.
Helper type that can wrap any error and generate custom response.

Enums

A set of error that can occure during parsing content type
Enum corresponding to a parsing error.
Error during handling Expect header
A set of errors that can occur during parsing json payloads
A set of errors that can occur during parsing multipart streams
A set of errors that can occur during parsing HTTP streams
A set of errors that can occur during payload parsing
Error type returned when reading body as lines.
Errors which can occur when serving static files.
Errors which can occur when attempting to interpret a segment string as a valid path segment.
Errors which can occur when attempting to generate resource uri.
Errors that can occur during parsing.
A set of errors that can occur during parsing urlencoded payloads

Traits

Error that can be converted to HttpResponse

Functions

Helper function that creates wrapper of any error and generate BAD GATEWAY response.
Helper function that creates wrapper of any error and generate BAD REQUEST response.
Helper function that creates wrapper of any error and generate CONFLICT response.
Helper function that creates wrapper of any error and generate EXPECTATION FAILED response.
Helper function that creates wrapper of any error and generate FAILED DEPENDENCY response.
Helper function that creates wrapper of any error and generate FORBIDDEN response.
Helper function that creates wrapper of any error and generate GATEWAY TIMEOUT response.
Helper function that creates wrapper of any error and generate GONE response.
Helper function that creates wrapper of any error and generate HTTP VERSION NOT SUPPORTED response.
Helper function that creates wrapper of any error and generate IM A TEAPOT response.
Helper function that creates wrapper of any error and generate INSUFFICIENT STORAGE response.
Helper function that creates wrapper of any error and generate INTERNAL SERVER ERROR response.
Helper function that creates wrapper of any error and generate LENGTH REQUIRED response.
Helper function that creates wrapper of any error and generate LOCKED response.
Helper function that creates wrapper of any error and generate LOOP DETECTED response.
Helper function that creates wrapper of any error and generate METHOD NOT ALLOWED response.
Helper function that creates wrapper of any error and generate MISDIRECTED REQUEST response.
Helper function that creates wrapper of any error and generate NETWORK AUTHENTICATION REQUIRED response.
Helper function that creates wrapper of any error and generate NOT ACCEPTABLE response.
Helper function that creates wrapper of any error and generate NOT EXTENDED response.
Helper function that creates wrapper of any error and generate NOT FOUND response.
Helper function that creates wrapper of any error and generate NOT IMPLEMENTED response.
Helper function that creates wrapper of any error and generate PAYLOAD TOO LARGE response.
Helper function that creates wrapper of any error and generate PAYMENT_REQUIRED response.
Helper function that creates wrapper of any error and generate PRECONDITION FAILED response.
Helper function that creates wrapper of any error and generate PRECONDITION REQUIRED response.
Helper function that creates wrapper of any error and generate PROXY AUTHENTICATION REQUIRED response.
Helper function that creates wrapper of any error and generate RANGE NOT SATISFIABLE response.
Helper function that creates wrapper of any error and generate REQUEST HEADER FIELDS TOO LARGE response.
Helper function that creates wrapper of any error and generate REQUEST TIMEOUT response.
Helper function that creates wrapper of any error and generate SERVICE UNAVAILABLE response.
Helper function that creates wrapper of any error and generate TOO MANY REQUESTS response.
Helper function that creates wrapper of any error and generate UNAUTHORIZED response.
Helper function that creates wrapper of any error and generate UNAVAILABLE FOR LEGAL REASONS response.
Helper function that creates wrapper of any error and generate UNPROCESSABLE ENTITY response.
Helper function that creates wrapper of any error and generate UNSUPPORTED MEDIA TYPE response.
Helper function that creates wrapper of any error and generate UPGRADE REQUIRED response.
Helper function that creates wrapper of any error and generate URI TOO LONG response.
Helper function that creates wrapper of any error and generate VARIANT ALSO NEGOTIATES response.

Type Definitions

A specialized Result for actix web operations