Aborts

kyo.aborts.Aborts
See theAborts companion object
final class Aborts[E] extends Effect[<none>, Aborts[E]]

Attributes

Companion
object
Graph
Supertypes
class Effect[<none>, Aborts[E]]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def accepts[M2[_], E2 <: Effect[M2, LazyRef(...)]](other: Effect[M2, E2]): Boolean

Attributes

Definition Classes
def catching[T, S](f: => T > S): T > Aborts[E] & S
def fail[T, S](e: E > S): T > Aborts[E] & S
def get[T, S](v: => Either[E, T] > S): T > Aborts[E] & S
def run[T, S](v: => T > Aborts[E] & S)(implicit flat: Flat[T > Aborts[E] & S]): Either[E, T] > S
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Effect -> Any

Inherited methods

final protected def handle[T, S, S2](v: T > Aborts[E] & S)(implicit h: Handler[<none>, Aborts[E], S2], s: Safepoint[<none>, Aborts[E]], f: Flat[T > Aborts[E] & S]): M[T] > S & S2

Attributes

Inherited from:
Effect
final protected def suspend[T, S](v: <none>[T] > S): T > S & E

Attributes

Inherited from:
Effect

Implicits

Implicits

implicit def handler[E](implicit tag: Tag[E]): Handler[<none>, Aborts[E], Any]