All Projects → rust-lang-nursery → Error Chain

rust-lang-nursery / Error Chain

Licence: other
Error boilerplate for Rust

Programming Languages

rust
11053 projects

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].