2 releases
0.1.0 | May 4, 2020 |
---|---|
0.1.0-alpha.1 | Dec 10, 2019 |
#57 in #construction
207,968 downloads per month
Used in 98 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(())
}