Outcome

cats.effect.kernel.Outcome$
See theOutcome companion trait
object Outcome

Attributes

Companion:
trait
Source:
Outcome.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Outcome.type

Members list

Concise view

Type members

Classlikes

final case class Canceled[F[_], E, A]() extends Outcome[F, E, A]

Attributes

Source:
Outcome.scala
Graph
Supertypes
trait Outcome[F, E, A]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
final case class Errored[F[_], E, A](e: E) extends Outcome[F, E, A]

Attributes

Source:
Outcome.scala
Graph
Supertypes
trait Outcome[F, E, A]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
final case class Succeeded[F[_], E, A](fa: F[A]) extends Outcome[F, E, A]

Attributes

Source:
Outcome.scala
Graph
Supertypes
trait Outcome[F, E, A]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Inherited classlikes

protected class OutcomeApplicativeError[F[_], E] extends ApplicativeError[[_] =>> Outcome[F, E, _$8], E] with Bifunctor[[_, _] =>> Outcome[F, _$9, _$10]]

Attributes

Inherited from:
LowPriorityImplicits (hidden)
Source:
Outcome.scala
Graph
Supertypes
trait Bifunctor[[_, _] =>> Outcome[F, _$9, _$10]]
trait ApplicativeError[[_] =>> Outcome[F, E, _$8], E]
trait Applicative[[_] =>> Outcome[F, E, _$8]]
trait InvariantMonoidal[[_] =>> Outcome[F, E, _$8]]
trait Apply[[_] =>> Outcome[F, E, _$8]]
trait ApplyArityFunctions[[_] =>> Outcome[F, E, _$8]]
trait InvariantSemigroupal[[_] =>> Outcome[F, E, _$8]]
trait Semigroupal[[_] =>> Outcome[F, E, _$8]]
trait Functor[[_] =>> Outcome[F, E, _$8]]
trait Invariant[[_] =>> Outcome[F, E, _$8]]
trait Serializable
class Object
trait Matchable
class Any

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source:
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source:
Mirror.scala

Value members

Concrete methods

def canceled[F[_], E, A]: Outcome[F, E, A]

Attributes

Source:
Outcome.scala
def errored[F[_], E, A](e: E): Outcome[F, E, A]

Attributes

Source:
Outcome.scala
def fromEither[F[_] : Applicative, E, A](either: Either[E, A]): Outcome[F, E, A]

Attributes

Source:
Outcome.scala
def succeeded[F[_], E, A](fa: F[A]): Outcome[F, E, A]

Attributes

Source:
Outcome.scala

Implicits

Implicits

implicit def monadError[F[_], E](implicit F: Monad[F], FT: Traverse[F]): MonadError[[_] =>> Outcome[F, E, _$20], E]

Attributes

Source:
Outcome.scala
implicit def order[F[_], E : Order, A](implicit evidence$2: Order[E], FA: Order[F[A]]): Order[Outcome[F, E, A]]

Attributes

Source:
Outcome.scala
implicit def show[F[_], E, A](implicit FA: Show[F[A]], E: Show[E]): Show[Outcome[F, E, A]]

Attributes

Source:
Outcome.scala

Inherited implicits

implicit def applicativeError[F[_], E](implicit F: Applicative[F]): ApplicativeError[[_] =>> Outcome[F, E, _$6], E]

Attributes

Inherited from:
LowPriorityImplicits (hidden)
Source:
Outcome.scala
implicit def eq[F[_], E : Eq, A](implicit evidence$3: Eq[E], FA: Eq[F[A]]): Eq[Outcome[F, E, A]]

Attributes

Inherited from:
LowPriorityImplicits (hidden)
Source:
Outcome.scala
implicit def showUnknown[F[_], E, A](implicit E: Show[E]): Show[Outcome[F, E, A]]

Attributes

Inherited from:
LowPriorityImplicits (hidden)
Source:
Outcome.scala