ExitCase

sealed abstract class ExitCase[+E] extends Product with Serializable

Type for signaling the exit condition of an effectful computation, that may either succeed, fail with an error or get canceled.

Type for signaling the exit condition of an effectful computation, that may either succeed, fail with an error or get canceled.

The types of exit signals are:

  • Completed: for successful completion (from the type of view of this MonadError)
  • Error: for termination in failure (via MonadError[F, E])
  • Canceled: for abortion
Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
object Completed
class Error[E]
object Canceled

Value members

Inherited methods

def canEqual(that: Any): Boolean
Inherited from
Equals
def productArity: Int
Inherited from
Product
def productElement(n: Int): Any
Inherited from
Product
def productElementName(n: Int): String
Inherited from
Product
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
def productPrefix: String
Inherited from
Product