27 releases

Uses old Rust 2015

0.12.4 Aug 2, 2020
0.12.3 Jul 30, 2020
0.12.2 Feb 20, 2020
0.12.1 May 10, 2019
0.2.2 Jul 21, 2016

#54 in #full

Download history 141574/week @ 2024-05-22 134198/week @ 2024-05-29 144730/week @ 2024-06-05 143674/week @ 2024-06-12 133751/week @ 2024-06-19 143687/week @ 2024-06-26 120966/week @ 2024-07-03 138272/week @ 2024-07-10 140797/week @ 2024-07-17 135560/week @ 2024-07-24 135829/week @ 2024-07-31 155898/week @ 2024-08-07 135586/week @ 2024-08-14 147895/week @ 2024-08-21 137068/week @ 2024-08-28 131269/week @ 2024-09-04

587,450 downloads per month
This crate has lost popularity

MIT/Apache

71KB
1K SLoC

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

Dependencies

~2.4–8MB
~68K SLoC