TryOps

final class TryOps[A](ta: Try[A]) extends AnyVal
Source:
try.scala
class AnyVal
trait Matchable
class Any

Value members

Concrete methods

def cata[B](success: A => B, failure: Throwable => B): B
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].

Source:
try.scala