Crate actix_error

Source

Structs§

ApiError
Represents a structured error that can be easily serialized and sent as an HTTP response.

Traits§

AsApiErrorTrait
A trait for types that can be converted into an ApiError.

Derive Macros§

AsApiError
Derives the AsApiErrorTrait for an enum, allowing it to be converted into an ApiError suitable for Actix-Web responses. It also conditionally implements std::fmt::Display.