1 unstable release

0.1.0 Apr 18, 2024

#1534 in Rust patterns

Download history 126/week @ 2024-04-15

126 downloads per month

MIT license

10KB
92 lines

dyn-error

Macros for dynamic errors

CI

This crate provides error-related utility macros.

In particular, its core feature resides in the automatic implementation of a wide range of equality checks via the impl_err_equality! macro, which is especially useful in documentation examples as well as in testing.

Crates.io

https://crates.io/crates/dyn-error

Documentation

https://docs.rs/dyn-error

License

MIT


lib.rs:

This crate provides error-related utility macros.

In particular, its core feature resides in the automatic implementation of a wide range of equality checks via the [impl_err_equality] macro, which is especially useful in documentation examples as well as in testing.

No runtime deps