Module actix_web::error [] [src]

Error and Result module

Structs

Error

General purpose actix web error

ErrorBadRequest

Helper type that can wrap any error and generate BAD REQUEST response.

ErrorConflict

Helper type that can wrap any error and generate CONFLICT response.

ErrorExpectationFailed

Helper type that can wrap any error and generate EXPECTATION FAILED response.

ErrorForbidden

Helper type that can wrap any error and generate FORBIDDEN response.

ErrorGone

Helper type that can wrap any error and generate GONE response.

ErrorInternalServerError

Helper type that can wrap any error and generate INTERNAL SERVER ERROR response.

ErrorMethodNotAllowed

Helper type that can wrap any error and generate METHOD NOT ALLOWED response.

ErrorNotFound

Helper type that can wrap any error and generate NOT FOUND response.

ErrorPreconditionFailed

Helper type that can wrap any error and generate PRECONDITION FAILED response.

ErrorRequestTimeout

Helper type that can wrap any error and generate REQUEST TIMEOUT response.

ErrorUnauthorized

Helper type that can wrap any error and generate UNAUTHORIZED response.

Enums

CookieParseError

Enum corresponding to a parsing error.

ExpectError

Error during handling Expect header

HttpRangeError

Http range header parsing error

JsonPayloadError

A set of errors that can occur during parsing json payloads

MultipartError

A set of errors that can occur during parsing multipart streams

ParseError

A set of errors that can occur during parsing HTTP streams

PayloadError

A set of errors that can occur during payload parsing

UriSegmentError

Errors which can occur when attempting to interpret a segment string as a valid path segment.

UrlGenerationError

Errors which can occur when attempting to generate resource uri.

UrlencodedError

A set of errors that can occur during parsing urlencoded payloads

WsHandshakeError

Websocket handshake errors

Traits

ResponseError

Error that can be converted to HttpResponse

Type Definitions

Result

A specialized Result for actix web operations