CatsMonadError

sttp.client3.impl.cats.CatsMonadError
class CatsMonadError[F[_]](implicit F: Sync[F]) extends MonadError[F]

Attributes

Graph
Supertypes
trait MonadError[F]
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Concrete methods

override def ensure[T](f: F[T], e: => F[Unit]): F[T]

Attributes

Definition Classes
MonadError
override def error[T](t: Throwable): F[T]

Attributes

Definition Classes
MonadError
override def eval[T](t: => T): F[T]

Attributes

Definition Classes
MonadError
override def flatMap[T, T2](fa: F[T])(f: T => F[T2]): F[T2]

Attributes

Definition Classes
MonadError
override def flatten[T](ffa: F[F[T]]): F[T]

Attributes

Definition Classes
MonadError
override def map[T, T2](fa: F[T])(f: T => T2): F[T2]

Attributes

Definition Classes
MonadError
override def unit[T](t: T): F[T]

Attributes

Definition Classes
MonadError

Inherited methods

def blocking[T](t: => T): F[T]

Attributes

Inherited from:
MonadError
def flatTap[T, U](fa: F[T])(f: T => F[U]): F[T]

Attributes

Inherited from:
MonadError
def fromTry[T](t: Try[T]): F[T]

Attributes

Inherited from:
MonadError
def handleError[T](rt: => F[T])(h: PartialFunction[Throwable, F[T]]): F[T]

Attributes

Inherited from:
MonadError
def suspend[T](t: => F[T]): F[T]

Attributes

Inherited from:
MonadError