Module error

Source
Expand description

Error types and traits.

Structs§

Builder
Builder for Error objects.
DefaultCatch
The default Catch instance used when none is specified.
Error
Errors that can happen inside Tower Web. The object of this type is serializable into “Problem Detail” as defined in RFC7807.
ErrorKind
A list specifying the general categories of Tower Web errors.
FnCatch
Provides a Catch implementation using the provided Fn instance.
Map
Map an arbitrary error type to Error

Traits§

Catch
Handles an error generated by a resource method.
IntoCatch
Convert Self into a value that implements Catch.