Details
Assignee
UnassignedUnassignedReporter
Daniel ComptonDaniel ComptonLabels
Approval
TriagedPriority
Minor
Details
Details
Assignee
Unassigned
UnassignedReporter
Daniel Compton
Daniel ComptonLabels
Approval
Triaged
Priority
Created March 12, 2017 at 10:56 PM
Updated February 5, 2024 at 8:33 PM
Java 7 and up support multi-catch exceptions (http://www.oracle.com/technetwork/articles/java/java7exceptions-486908.html). It would be handy if Clojure also supported them to prevent catching something like Exception and then writing manual logic to check the Exception type, or duplicating the logic over multiple catch blocks.
A possible syntax for this could be:
Prior art for this is a
try*
macro: https://gist.github.com/Gonzih/5814945.One nuance to handle is
I tried searching to see if this had been asked already, but got mountains of results. I didn't see anything in the first few pages though.