Module puff_rs::errors

source ·
Expand description

Easy Error Handling.

Puff uses anyhow::Error for transparently catching and converting almost all error types. See Anyhow’s documentation for more information.

Re-exports

pub use anyhow;

Structs

An error structure to use in Axum requests.

Functions

Consume an error and log it.
Consume a PuffResult and log it if it has an error.
Log a puff error if it exists for the result, and return the result back.
Convert a PuffError to a PyError

Type Definitions