TryOps

mouse.TryOps
final class TryOps[A](ta: Try[A]) extends AnyVal

Attributes

Source:
try.scala
Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def cata[B](success: A => B, failure: Throwable => B): B

Attributes

Source:
try.scala

Attributes

Source:
try.scala
def toEitherT[F[_]](implicit F: Applicative[F]): EitherT[F, Throwable, A]

Converts a Try[A] to a EitherT[F, Throwable, A].

Converts a Try[A] to a EitherT[F, Throwable, A].

Attributes

Source:
try.scala