Exit

izumi.functional.bio.Exit
See theExit companion object
sealed trait Exit[+E, +A]

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Failure[E]
class Error[E]
class Termination
class Interruption
trait Uninterrupted[E, A]
class Success[A]
Show all

Members list

Value members

Abstract methods

def asFailure: Option[Failure[E]]
def asSuccess: Option[A]
def flatMap[E1 >: E, B](f: A => Exit[E1, B]): Exit[E1, B]
def isFailure: Boolean
def isInterrupted: Boolean
def isSuccess: Boolean
def isUninterrupted: Boolean
def leftMap[E1](f: E => E1): Exit[E1, A]
def map[B](f: A => B): Exit[E, B]
def toThrowableEither(implicit ev: E <:< Throwable): Either[Throwable, A]
def toTry(implicit ev: E <:< Throwable): Try[A]