error-chain 0.7.1

Yet another error boilerplate library.
Documentation

error-chain - Consistent error handling for Rust

Build Status Latest Version License

error-chain is a crate for dealing with Rust error boilerplate. It provides a few unique features:

  • No error is ever discarded. This library primarily makes it easy to "chain" errors with the chain_err method.
  • Introducing new errors is trivial. Simple errors can be introduced at the error site with just a string.
  • Errors can create and propagate backtraces.

Documentation (crates.io).

Documentation (master).

Quick start

See the quickstart example.

License

MIT/Apache-2.0