Syntactic Musings on the Fallibility Effect

I believe it must have been about three or four years ago when Rust added the unstable yeet keyword on nightly which can be used to return new errors in try -functions. More recently Rust has added the unstable bikeshed keyword on nightly which gives try -blocks and closures the ability to express which kind of error they operate on. We’ve been deferring making decisions of error handling syntax…