Failure

final case class Failure[+E](cause: Cause[E]) extends Exit[E, Nothing]
class Exit[E, Nothing]
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Inherited methods

final def &>[E1 >: E, B](that: Exit[E1, B]): Exit[E1, B]

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]

Inherited from:
Exit
final def *>[E1 >: E, B](that: Exit[E1, B]): Exit[E1, B]

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]

Inherited from:
Exit
final def <&[E1 >: E, B](that: Exit[E1, B]): Exit[E1, Nothing]

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]

Inherited from:
Exit
final def <&>[E1 >: E, B](that: Exit[E1, B]): Exit[E1, (Nothing, B)]

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]

Inherited from:
Exit
final def <*[E1 >: E, B](that: Exit[E1, B]): Exit[E1, Nothing]

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]

Inherited from:
Exit
final def <*>[E1 >: E, B](that: Exit[E1, B]): Exit[E1, (Nothing, B)]

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]

Inherited from:
Exit
final def as[B](b: B): Exit[E, B]

Replaces the success value with the one provided.

Replaces the success value with the one provided.

Inherited from:
Exit
final def exists(p: Nothing => Boolean): Boolean
Inherited from:
Exit
final def flatMap[E1 >: E, A1](f: Nothing => Exit[E1, A1]): Exit[E1, A1]

Flat maps over the value type.

Flat maps over the value type.

Inherited from:
Exit
final def flatMapM[E1 >: E, R, E2, A1](f: Nothing => ZIO[R, E2, Exit[E1, A1]]): ZIO[R, E2, Exit[E1, A1]]

Flat maps over the value type.

Flat maps over the value type.

Inherited from:
Exit
final def flatten[E1 >: E, B](implicit ev: Nothing <:< Exit[E1, B]): Exit[E1, B]
Inherited from:
Exit
final def fold[Z](failed: Cause[E] => Z, completed: Nothing => Z): Z

Folds over the value or cause.

Folds over the value or cause.

Inherited from:
Exit
final def foldM[R, E1, B](failed: Cause[E] => ZIO[R, E1, B], completed: Nothing => ZIO[R, E1, B]): ZIO[R, E1, B]

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]

Inherited from:
Exit
final def foreach[R, E1 >: E, B](f: Nothing => ZIO[R, E1, B]): ZIO[R, Nothing, Exit[E1, B]]

Applies the function f to the successful result of the Exit and returns the result in a new Exit.

Applies the function f to the successful result of the Exit and returns the result in a new Exit.

Inherited from:
Exit
final def getOrElse[A1](orElse: Cause[E] => A1): A1

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

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

Inherited from:
Exit
final def interrupted: Boolean

Determines if the result is interrupted.

Determines if the result is interrupted.

Inherited from:
Exit
final def map[A1](f: Nothing => A1): Exit[E, A1]

Maps over the value type.

Maps over the value type.

Inherited from:
Exit
final def mapBoth[E1, A1](f: E => E1, g: Nothing => A1): Exit[E1, A1]

Maps over both the error and value type.

Maps over both the error and value type.

Inherited from:
Exit
final def mapError[E1](f: E => E1): Exit[E1, Nothing]

Maps over the error type.

Maps over the error type.

Inherited from:
Exit
final def mapErrorCause[E1](f: Cause[E] => Cause[E1]): Exit[E1, Nothing]

Maps over the cause type.

Maps over the cause type.

Inherited from:
Exit
final def orElseFail[E1](e1: => E1): Exit[E1, Nothing]

Replaces the error value with the one provided.

Replaces the error value with the one provided.

Inherited from:
Exit
Inherited from:
Product
final def succeeded: Boolean

Determines if the result is a success.

Determines if the result is a success.

Inherited from:
Exit
final def toEither: Either[Throwable, Nothing]

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).

Inherited from:
Exit
final def unit: Exit[E, Unit]

Discards the value.

Discards the value.

Inherited from:
Exit
final def untraced: Exit[E, Nothing]

Returns an untraced exit value.

Returns an untraced exit value.

Inherited from:
Exit
final def zip[E1 >: E, B](that: Exit[E1, B]): Exit[E1, (Nothing, B)]

Named alias for <*>.

Named alias for <*>.

Inherited from:
Exit
final def zipLeft[E1 >: E, B](that: Exit[E1, B]): Exit[E1, Nothing]

Named alias for <*.

Named alias for <*.

Inherited from:
Exit
final def zipPar[E1 >: E, B](that: Exit[E1, B]): Exit[E1, (Nothing, B)]

Named alias for <&>.

Named alias for <&>.

Inherited from:
Exit
final def zipParLeft[E1 >: E, B](that: Exit[E1, B]): Exit[E1, Nothing]

Named alias for <&.

Named alias for <&.

Inherited from:
Exit
final def zipParRight[E1 >: E, B](that: Exit[E1, B]): Exit[E1, B]

Named alias for &>.

Named alias for &>.

Inherited from:
Exit
final def zipRight[E1 >: E, B](that: Exit[E1, B]): Exit[E1, B]

Named alias for *>.

Named alias for *>.

Inherited from:
Exit
final def zipWith[E1 >: E, B, C](that: Exit[E1, B])(f: (Nothing, B) => C, g: (Cause[E], Cause[E1]) => Cause[E1]): Exit[E1, C]

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

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

Inherited from:
Exit

Deprecated and Inherited methods

@deprecated("use mapBoth", "2.0.0")
final def bimap[E1, A1](f: E => E1, g: Nothing => A1): Exit[E1, A1]

Maps over both the error and value type.

Maps over both the error and value type.

Deprecated
Inherited from:
Exit