Trait FailureOf has been deprecated and will be removed in a future version of ScalaTest.
Instead of the failureOf method provided by this trait, please use the outcomeOf method
provided by trait OutcomeOf instead.
The outcomeOf method is not just the failureOf method with the name changed, so you will likely
need to do a bit of rewriting of your usage of failureOf. The difference is that failureOf
returned an optional Throwable, whereas outcomeOf returns an Outcome.
Annotations
@deprecated
Deprecated
The FailureOf trait has been deprecated. Please use trait OutcomeOf instead.
Trait
FailureOfhas been deprecated and will be removed in a future version of ScalaTest. Instead of thefailureOfmethod provided by this trait, please use theoutcomeOfmethod provided by traitOutcomeOfinstead.The
outcomeOfmethod is not just thefailureOfmethod with the name changed, so you will likely need to do a bit of rewriting of your usage offailureOf. The difference is thatfailureOfreturned an optionalThrowable, whereasoutcomeOfreturns anOutcome.The FailureOf trait has been deprecated. Please use trait OutcomeOf instead.