# errorderive [![Crates.io](https://img.shields.io/crates/v/errorderive.svg?style=flat-square)](https://crates.io/crates/errorderive) [![API Docs](https://img.shields.io/badge/API-on%20docs.rs-blue.svg?style=flat-square)](https://docs.rs/errorderive) A failure-like derive macro for the `std::error::Error`. The source code is mostly copied from [failure_derive](https://github.com/rust-lang-nursery/failure) & [err-derive](https://gitlab.com/torkleyy/err-derive). ## Compare with err-derive - Support `edition = "2018"` - Rust version requires >= 1.30.0 - Use `source` keyword instead of `cause` - Use `call_site` for more debug information