gecko-dev/third_party/rust/error-chain
..
examples
src
tests
.cargo-checksum.json
CHANGELOG.md
Cargo.toml
LICENSE-APACHE
LICENSE-MIT
README.md

README.md

error-chain - Consistent error handling for Rust

Build Status Latest Version License

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.

Documentation (crates.io).

Documentation (master).

Quick start

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.

Supported Rust version

Please view the beginning of the Travis configuration file to see the oldest supported Rust version.

Note that error-chain supports older versions of Rust when built with default-features = false.

License

MIT/Apache-2.0