error-chain
error-chain copied to clipboard
Error boilerplate for Rust
The foreign links docs mention: `So for the example above all errors deriving from the temp::Error...` but there are no code examples of `foreign_links`(the first code example contains an example...
One thing I really dislike about `error_chain` compared to `quick_error` is the inability to add a custom description and format to foreign_link errors (and regular links as well, actually). The...
You sometimes need a layer of `Box` in an API when e.g. making a pluginizable framework. You can currently propagate the cause chain up properly but not a backtrace. It...
Yet `Cargo.toml` contains licence field: > license = "MIT/Apache-2.0"
See [errors.rs](https://github.com/andete/philipshue/blob/use_error_chain/src/errors.rs) for an example. As far as I can see it is not possible to add documentation to the 3 fields of BridgeError. It would be nice if that...
I have this minimal repository that reproduces the issue: https://github.com/dflemstr/error-chain-test Running `cargo build` in the `b` directory yields: ``` $ cargo build Compiling b v0.1.0 (file:///home/dflemstr/github.com/dflemstr/error-chain-test/b) error[E0119]: conflicting implementations of...
The problem: https://github.com/rust-lang/rust/issues/24827. That's why the attributes have to be put at the end of the `links` and `foreign_links` declarations.
Hi, When interacting rust code with other languages, we can't do pattern matching on error types. As a consequence being able to add a method to define error code according...
I'm trying to use `error-chain` in the context of a simple Lisp interpreter. One of the errors I want to handle has a lifetime parameter, but `error-chain` does not seem...