Class

zio.Exit

Failure

Related Doc: package Exit

Permalink

final case class Failure[E](cause: zio.Cause[E]) extends Exit[E, Nothing] with Product with Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Failure
  2. Exit
  3. Serializable
  4. Serializable
  5. Product
  6. Equals
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Failure(cause: zio.Cause[E])

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def &>[E1 >: E, B](that: Exit[E1, B]): Exit[E1, B]

    Permalink

    Parallelly zips the this result with the specified result discarding the first element of the tuple or else returns the failed Cause[E1]

    Parallelly zips the this result with the specified result discarding the first element of the tuple or else returns the failed Cause[E1]

    Definition Classes
    Exit
  4. final def *>[E1 >: E, B](that: Exit[E1, B]): Exit[E1, B]

    Permalink

    Sequentially zips the this result with the specified result discarding the first element of the tuple or else returns the failed Cause[E1]

    Sequentially zips the this result with the specified result discarding the first element of the tuple or else returns the failed Cause[E1]

    Definition Classes
    Exit
  5. final def <&[E1 >: E, B](that: Exit[E1, B]): Exit[E1, Nothing]

    Permalink

    Parallelly zips the this result with the specified result discarding the second element of the tuple or else returns the failed Cause[E1]

    Parallelly zips the this result with the specified result discarding the second element of the tuple or else returns the failed Cause[E1]

    Definition Classes
    Exit
  6. final def <&>[E1 >: E, B](that: Exit[E1, B]): Exit[E1, (Nothing, B)]

    Permalink

    Parallelly zips the this result with the specified result or else returns the failed Cause[E1]

    Parallelly zips the this result with the specified result or else returns the failed Cause[E1]

    Definition Classes
    Exit
  7. final def <*[E1 >: E, B](that: Exit[E1, B]): Exit[E1, Nothing]

    Permalink

    Sequentially zips the this result with the specified result discarding the second element of the tuple or else returns the failed Cause[E1]

    Sequentially zips the this result with the specified result discarding the second element of the tuple or else returns the failed Cause[E1]

    Definition Classes
    Exit
  8. final def <*>[E1 >: E, B](that: Exit[E1, B]): Exit[E1, (Nothing, B)]

    Permalink

    Sequentially zips the this result with the specified result or else returns the failed Cause[E1]

    Sequentially zips the this result with the specified result or else returns the failed Cause[E1]

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

    Permalink
    Definition Classes
    AnyRef → Any
  10. final def as[B](b: B): Exit[E, B]

    Permalink

    Replaces the success value with the one provided.

    Replaces the success value with the one provided.

    Definition Classes
    Exit
  11. final def asError[E1](e1: E1): Exit[E1, Nothing]

    Permalink

    Replaces the error value with the one provided.

    Replaces the error value with the one provided.

    Definition Classes
    Exit
  12. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  13. final def bimap[E1, A1](f: (E) ⇒ E1, g: (Nothing) ⇒ A1): Exit[E1, A1]

    Permalink

    Maps over both the error and value type.

    Maps over both the error and value type.

    Definition Classes
    Exit
  14. val cause: zio.Cause[E]

    Permalink
  15. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def flatMap[E1 >: E, A1](f: (Nothing) ⇒ Exit[E1, A1]): Exit[E1, A1]

    Permalink

    Flat maps over the value type.

    Flat maps over the value type.

    Definition Classes
    Exit
  19. final def fold[Z](failed: (zio.Cause[E]) ⇒ Z, completed: (Nothing) ⇒ Z): Z

    Permalink

    Folds over the value or cause.

    Folds over the value or cause.

    Definition Classes
    Exit
  20. final def foldM[R, E1, B](failed: (zio.Cause[E]) ⇒ ZIO[R, E1, B], completed: (Nothing) ⇒ ZIO[R, E1, B]): ZIO[R, E1, B]

    Permalink

    Sequentially zips the this result with the specified result or else returns the failed Cause[E1]

    Sequentially zips the this result with the specified result or else returns the failed Cause[E1]

    Definition Classes
    Exit
  21. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  22. final def getOrElse[A1 >: Nothing](orElse: (zio.Cause[E]) ⇒ A1): A1

    Permalink

    Retrieves the A if succeeded, or else returns the specified default A.

    Retrieves the A if succeeded, or else returns the specified default A.

    Definition Classes
    Exit
  23. final def interrupted: Boolean

    Permalink

    Determines if the result is interrupted.

    Determines if the result is interrupted.

    Definition Classes
    Exit
  24. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  25. final def map[A1](f: (Nothing) ⇒ A1): Exit[E, A1]

    Permalink

    Maps over the value type.

    Maps over the value type.

    Definition Classes
    Exit
  26. final def mapError[E1](f: (E) ⇒ E1): Exit[E1, Nothing]

    Permalink

    Maps over the error type.

    Maps over the error type.

    Definition Classes
    Exit
  27. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. final def succeeded: Boolean

    Permalink

    Determines if the result is a success.

    Determines if the result is a success.

    Definition Classes
    Exit
  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  32. final def toEither: Either[Throwable, Nothing]

    Permalink

    Converts the Exit to an Either[Throwable, A], by wrapping the cause in FiberFailure (if the result is failed).

    Converts the Exit to an Either[Throwable, A], by wrapping the cause in FiberFailure (if the result is failed).

    Definition Classes
    Exit
  33. final def unit: Exit[E, Unit]

    Permalink

    Discards the value.

    Discards the value.

    Definition Classes
    Exit
  34. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def zip[E1 >: E, B](that: Exit[E1, B]): Exit[E1, (Nothing, B)]

    Permalink

    Named alias for <*>.

    Named alias for <*>.

    Definition Classes
    Exit
  38. final def zipLeft[E1 >: E, B](that: Exit[E1, B]): Exit[E1, Nothing]

    Permalink

    Named alias for <*.

    Named alias for <*.

    Definition Classes
    Exit
  39. final def zipPar[E1 >: E, B](that: Exit[E1, B]): Exit[E1, (Nothing, B)]

    Permalink

    Named alias for <&>.

    Named alias for <&>.

    Definition Classes
    Exit
  40. final def zipParLeft[E1 >: E, B](that: Exit[E1, B]): Exit[E1, Nothing]

    Permalink

    Named alias for <&.

    Named alias for <&.

    Definition Classes
    Exit
  41. final def zipParRight[E1 >: E, B](that: Exit[E1, B]): Exit[E1, B]

    Permalink

    Named alias for &>.

    Named alias for &>.

    Definition Classes
    Exit
  42. final def zipRight[E1 >: E, B](that: Exit[E1, B]): Exit[E1, B]

    Permalink

    Named alias for *>.

    Named alias for *>.

    Definition Classes
    Exit
  43. final def zipWith[E1 >: E, B, C](that: Exit[E1, B])(f: (Nothing, B) ⇒ C, g: (zio.Cause[E], zio.Cause[E1]) ⇒ zio.Cause[E1]): Exit[E1, C]

    Permalink

    Zips this together with the specified result using the combination functions.

    Zips this together with the specified result using the combination functions.

    Definition Classes
    Exit

Deprecated Value Members

  1. final def const[B](b: B): Exit[E, B]

    Permalink
    Definition Classes
    Exit
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use as

Inherited from Exit[E, Nothing]

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped