Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rust-lang-deprecated/error-chain
Error boilerplate for Rust
https://github.com/rust-lang-deprecated/error-chain
Last synced: about 2 months ago
JSON representation
Error boilerplate for Rust
- Host: GitHub
- URL: https://github.com/rust-lang-deprecated/error-chain
- Owner: rust-lang-deprecated
- License: apache-2.0
- Archived: true
- Created: 2016-07-06T18:27:40.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-08-07T09:07:21.000Z (over 3 years ago)
- Last Synced: 2024-10-29T16:19:10.721Z (about 2 months ago)
- Language: Rust
- Size: 2.4 MB
- Stars: 730
- Watchers: 18
- Forks: 111
- Open Issues: 69
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# error-chain - Consistent error handling for Rust
[![Build Status](https://travis-ci.com/rust-lang-nursery/error-chain.svg?branch=master)](https://travis-ci.com/rust-lang-nursery/error-chain)
[![Latest Version](https://img.shields.io/crates/v/error-chain.svg)](https://crates.io/crates/error-chain)
[![License](https://img.shields.io/badge/license-MIT%2FApache--2.0-green.svg)](https://github.com/rust-lang-nursery/error-chain)`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)](https://docs.rs/error-chain).
[Documentation (master)](https://rust-lang-nursery.github.io/error-chain).
## 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.[quickstart.rs]: https://github.com/rust-lang-nursery/error-chain/blob/master/examples/quickstart.rs
[intro]: http://brson.github.io/2016/11/30/starting-with-error-chain## Supported Rust version
Please view the beginning of the [Travis configuration file](.travis.yml)
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