[][src]Module finchers::error

Error primitives.

Structs

Error

A type which holds a value of HttpError in a type-erased form.

Traits

HttpError

Trait that abstracts the error representation used in Finchers.

Functions

bad_request
err_msg

Creates a value ofError from the specific message and status code.

fail

Creates a value of Error from the specific error value.

forbidden
internal_server_error
method_not_allowed
not_found
unauthorized

Type Definitions

Result

A type alias of Result<T, E> whose error type is restricted to Error.