final case class Failure[+E](cause: Cause[E]) extends Exit[E, Nothing] with Product with Serializable
- Alphabetic
- By Inheritance
- Failure
- Exit
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- 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]
- Definition Classes
- 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]
- Definition Classes
- 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]
- Definition Classes
- 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]
- Definition Classes
- 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]
- Definition Classes
- 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]
- Definition Classes
- Exit
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- 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.
- Definition Classes
- Exit
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val cause: Cause[E]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def exists(p: (Nothing) => Boolean): Boolean
- Definition Classes
- Exit
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- 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.
- Definition Classes
- 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.
- Definition Classes
- Exit
- final def flatten[E1 >: E, B](implicit ev: <:<[Nothing, Exit[E1, B]]): Exit[E1, B]
- Definition Classes
- 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.
- Definition Classes
- 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]
- Definition Classes
- 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 theExit
and returns the result in a newExit
.Applies the function
f
to the successful result of theExit
and returns the result in a newExit
.- Definition Classes
- Exit
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def getOrElse[A1 >: Nothing](orElse: (Cause[E]) => A1): A1
Retrieves the
A
if succeeded, or else returns the specified defaultA
.Retrieves the
A
if succeeded, or else returns the specified defaultA
.- Definition Classes
- Exit
- final def interrupted: Boolean
Determines if the result is interrupted.
Determines if the result is interrupted.
- Definition Classes
- Exit
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def map[A1](f: (Nothing) => A1): Exit[E, A1]
Maps over the value type.
Maps over the value type.
- Definition Classes
- 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.
- Definition Classes
- Exit
- final def mapError[E1](f: (E) => E1): Exit[E1, Nothing]
Maps over the error type.
Maps over the error type.
- Definition Classes
- Exit
- final def mapErrorCause[E1](f: (Cause[E]) => Cause[E1]): Exit[E1, Nothing]
Maps over the cause type.
Maps over the cause type.
- Definition Classes
- Exit
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- 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.
- Definition Classes
- Exit
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def succeeded: Boolean
Determines if the result is a success.
Determines if the result is a success.
- Definition Classes
- Exit
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def toEither: Either[Throwable, Nothing]
Converts the
Exit
to anEither[Throwable, A]
, by wrapping the cause inFiberFailure
(if the result is failed).Converts the
Exit
to anEither[Throwable, A]
, by wrapping the cause inFiberFailure
(if the result is failed).- Definition Classes
- Exit
- final def unit: Exit[E, Unit]
Discards the value.
Discards the value.
- Definition Classes
- Exit
- final def untraced: Exit[E, Nothing]
Returns an untraced exit value.
Returns an untraced exit value.
- Definition Classes
- Exit
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def zip[E1 >: E, B](that: Exit[E1, B]): Exit[E1, (Nothing, B)]
Named alias for
<*>
.Named alias for
<*>
.- Definition Classes
- Exit
- final def zipLeft[E1 >: E, B](that: Exit[E1, B]): Exit[E1, Nothing]
Named alias for
<*
.Named alias for
<*
.- Definition Classes
- Exit
- final def zipPar[E1 >: E, B](that: Exit[E1, B]): Exit[E1, (Nothing, B)]
Named alias for
<&>
.Named alias for
<&>
.- Definition Classes
- Exit
- final def zipParLeft[E1 >: E, B](that: Exit[E1, B]): Exit[E1, Nothing]
Named alias for
<&
.Named alias for
<&
.- Definition Classes
- Exit
- final def zipParRight[E1 >: E, B](that: Exit[E1, B]): Exit[E1, B]
Named alias for
&>
.Named alias for
&>
.- Definition Classes
- Exit
- final def zipRight[E1 >: E, B](that: Exit[E1, B]): Exit[E1, B]
Named alias for
*>
.Named alias for
*>
.- Definition Classes
- 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.
- Definition Classes
- Exit