What if Result implemented the Drop trait and fail()'ed in drop() unless it's been "disarmed" by calling some method (get_err?) which indicates that the error has been observed?
On Thu, Apr 25, 2013 at 5:30 PM, Patrick Walton <pwal...@mozilla.com> wrote: > On 4/25/13 5:29 PM, Brian Anderson wrote: > >> It's almost taboo here, but we could consider adding catchable exceptions. >> > > I would be in favor of catchable exceptions, for what it's worth. > > Patrick > > _______________________________________________ > Rust-dev mailing list > Rust-dev@mozilla.org > https://mail.mozilla.org/listinfo/rust-dev >
_______________________________________________ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev