org.programmiersportgruppe.scala.commons.basics.Tries

AugmentedTry

implicit final class AugmentedTry[T] extends AnyVal

Extension methods for Try

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AugmentedTry
  2. AnyVal
  3. NotNull
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AugmentedTry(self: Try[T])

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  2. final def ##(): Int

    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def getClass(): Class[_ <: AnyVal]

    Definition Classes
    AnyVal → Any
  6. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  7. def onFailure(action: (Throwable) ⇒ Unit): self.type

    Execute an action if the Try is a Failure.

    Execute an action if the Try is a Failure.

    Can be used to cause a side effect in case something went wrong, e.g. for logging before doing a Try.toOption.

  8. val self: Try[T]

  9. def toString(): String

    Definition Classes
    Any

Inherited from AnyVal

Inherited from NotNull

Inherited from Any

Ungrouped