rust-lang/rfcs — pull request #492 by mitsuhiko (2014-11-29 23:00:09+00:00)
Title: RFC: Error Reform and Failure Box

This RFC proposes four things:

* a reform to the `Error` trait to support better messages.
* a new `Failure` wrapper for errors to support optional tracebacks.
* a `ConstructFailure` trait to support interoperability between errors and failures.
* New `try!` and `fail!` macros that use `ConstructFailure` instead of `FromError`.

[Rendered View](https://github.com/mitsuhiko/rfcs/blob/failure-box/text/0000-failure-box.md)