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
FailureOf
has been deprecated and will be removed in a future version of ScalaTest. Instead of thefailureOf
method provided by this trait, please use theoutcomeOf
method provided by traitOutcomeOf
instead.The
outcomeOf
method is not just thefailureOf
method with the name changed, so you will likely need to do a bit of rewriting of your usage offailureOf
. The difference is thatfailureOf
returned an optionalThrowable
, whereasoutcomeOf
returns anOutcome
.The FailureOf trait has been deprecated. Please use trait OutcomeOf instead.