scala.util.control.Exception
Returns a partially constructed Catch object, which you must give an exception handler function as an argument to by. Example:
Catch
by
handling(ex1, ex2) by (_.printStackTrace)
Returns a partially constructed
Catch
object, which you must give an exception handler function as an argument toby
. Example: