error-forge 1.2.0

Pragmatic Rust error-handling framework with stable error metadata, contextual diagnostics, optional async support, and synchronous recovery primitives (retry, circuit-breaker, backoff). Optional #[derive(ModError)], declarative define_errors!, and feature-gated logging / tracing / serde adapters.
Documentation
1
2
3
4
5
6
7
8
9
10
11
error_forge::define_errors! {
    pub enum NetError {
        #[kind(Net)]
        Timeout,

        #[error(display = "refused")]
        Refused,
    }
}

fn main() {}