Apply this catch logic to the supplied body.
Apply this catch logic to the supplied body.
Apply this catch logic to the supplied body, mapping the result into Either[Throwable, T] - Left(exception) if an exception was caught, Right(T) otherwise.
Apply this catch logic to the supplied body, mapping the result into Either[Throwable, T] - Left(exception) if an exception was caught, Right(T) otherwise.
Apply this catch logic to the supplied body, mapping the result into Option[T] - None if any exception was caught, Some(T) otherwise.
Apply this catch logic to the supplied body, mapping the result into Option[T] - None if any exception was caught, Some(T) otherwise.
Create a new Catch with additional exception handling logic.
Create a new Catch with additional exception handling logic.
Convenience methods.
Convenience methods.
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
a string representation of the object.
Create a new Catch with the same isDefinedAt logic as this one, but with the supplied apply method replacing the current one.
Create a new Catch with the same isDefinedAt logic as this one, but with the supplied apply method replacing the current one.
A container class for catch/finally logic.