sclib.ops.try
shorthand constructor for Failure from a Throwable
Failure
Throwable
scala> import sclib.ops.`try`._ scala> new IllegalArgumentException("BOOM").failure[Int] res0: scala.util.Try[Int] = Failure(java.lang.IllegalArgumentException: BOOM)
shorthand constructor for
Failure
from aThrowable