2 releases
0.1.0 | May 4, 2020 |
---|---|
0.1.0-alpha.1 | Dec 10, 2019 |
#55 in #construction
181,229 downloads per month
Used in 97 crates
(3 directly)
5KB
88 lines
simplerr
Zero dependency error handling.
Usage
[dependancies]
simpl = 0.1.0
use std::fs;
use simpl::err;
err!(ExampleError,
{
Io@std::io::Error;
});
fn main() -> Result<()> {
fs::create_dir("test")?;
fs::remove_dir_all("test")?;
Ok(())
}