error-chain makes it easy to take full advantage of Rust‘s error handling features without the overhead of maintaining boilerplate error types and conversions. It implements an opinionated strategy for defining your own error types, as well as conversions from others’ error types.
If you just want to set up your new project with error-chain, follow the quickstart.rs template, and read this intro to error-chain.
Please view the beginning of the Travis configuration file to see the oldest supported Rust version.
error-chain supports older versions of Rust when built with
default-features = false.