Wrapper class that adds success and failure methods to scala.util.Try, allowing
you to make statements like:
Wrapper class that adds success and failure methods to scala.util.Try, allowing
you to make statements like:
try1.success.value should be > 9 try2.failure.exception should have message "/ by zero"
Implicit conversion that adds success and failure methods to Try.
Implicit conversion that adds success and failure methods to Try.
the Try to which to add the success and failure methods
Companion object that facilitates the importing of
TryValuesmembers as an alternative to mixing it in. One use case is to importTryValues's members so you can usesuccessandfailureonTryin the Scala interpreter.