зеркало из https://github.com/mozilla/gecko-dev.git
f1e1b786c6
MozReview-Commit-ID: 6BC0fu1rrEE --HG-- extra : rebase_source : b986541c97eee9eaa70bbc54ccfcd63b2d3fa006 |
||
---|---|---|
.. | ||
examples | ||
src | ||
tests | ||
.cargo-checksum.json | ||
.cargo-ok | ||
.travis.yml | ||
CHANGELOG.md | ||
Cargo.toml | ||
README.md |
README.md
error-chain - Consistent error handling for Rust
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.
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