#automatic #structs #error #macro

errormake

A macro for automatically creating Error structs

4 releases

0.2.1 Jun 21, 2020
0.2.0 Jun 21, 2020
0.1.1 Jun 19, 2020
0.1.0 Jun 19, 2020

#2440 in Rust patterns

MIT/Apache

12KB
163 lines

errormake

Crates.io Page Docs.rs Page License Travis CI Status

A macro for automatically creating Error structs in Rust

Usage

To use in your rust crate, add this to your Cargo.toml:

[dependencies]
errormake = "0.2.1"

and add this in the module where you want to use it

use errormake::errormake;

For the full documentation on how to use this crate, consult this crate's documentation on docs.rs

Contributing

To contribute to this project, see CONTRIBUTING.md.

No runtime deps