Object/Trait

org.scalactic

TrySugar

Related Docs: trait TrySugar | package scalactic

Permalink

object TrySugar extends TrySugar

Companion object for TrySugar enabling its members to be imported as an alternative to mixing them in.

Source
TrySugar.scala
Linear Supertypes
TrySugar, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TrySugar
  2. TrySugar
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. implicit class Tryizer[T] extends AnyRef

    Permalink

    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.

    Definition Classes
    TrySugar