Yes, an error-handling giude is on the horizon.


On Fri, May 23, 2014 at 11:21 AM, Jesse Ruderman
<notifications@github.com>wrote:

> In src/doc/complement-design-faq.md:
>
> > +it could fall through if the type of the `match` expression is `()`. This sort
> > +of hidden cost and special casing is against the language's philosophy. It's
> > +easy to ignore certain cases by using the `_` wildcard:
> > +
> > +    match val.do_something() {
> > +        Cat(a) => { /* ... */ }
> > +        _      => { /* ... */ }
> > +    }
> > +
> > +[#3101][iss] is the issue that proposed making this the only behavior, with
> > +rationale and discussion.
> > +
> > +[iss]: https://github.com/mozilla/rust/issues/3101
>
> > +
> > +## No catchable exceptions
> > +
>
> Maybe we should have a guide titled "Dealing with exceptional
> circumstances" that helps users understand and choose between our
> alternatives to exceptions: (1) task unwinding and recovery at task
> boundaries; (2) Option, Result, and the try macro; and (3)
> condition-handler-style closures.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/mozilla/rust/pull/14370/files#r13012341>
> .
>



-- 
http://octayn.net/