CodebyCR
(Christoph Rohde)
6
I believe there have been a few similar suggestions, which unfortunately didn’t work out, but I’m familiar with this sticking point.
I think the real problem is that, in the else branch of the guard statement, you don’t have access to the thrown error.
I think the cleanest solution is a guard-catch statement.