Structs§
- ApiError
- Represents a structured error that can be easily serialized and sent as an HTTP response.
Traits§
- AsApi
Error Trait - A trait for types that can be converted into an
ApiError
.
Derive Macros§
- AsApi
Error - Derives the
AsApiErrorTrait
for an enum, allowing it to be converted into anApiError
suitable for Actix-Web responses. It also conditionally implementsstd::fmt::Display
.