Implicit class that adds a toOr method to
Try, which converts Success to Good,
and Failure to Bad, as well as a
validation method, which takes one or more functions that validate
the Future's value.
Implicit class that adds a toOr method to
Try, which converts Success to Good,
and Failure to Bad, as well as a
validation method, which takes one or more functions that validate
the Future's value.
See the main documentation for trait TrySugar for more detail and examples.
Companion object for
TrySugarenabling its members to be imported as an alternative to mixing them in.