Zero dependency error handling.
[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(()) }