← Back to context

Comment by necubi

13 hours ago

If by "exceptions" you're talking about stack unwinding (as opposed to the language-level control flow constructs like throw/catch) then Rust has always had that with panics and panic=unwind.

I am talking about the wider category that includes stack unwinding as an error handling pattern for errors outside of catastrophic. T

My opinion (which one need not approve of) is that it asymptotically approaches the language-level control flow constructs.