TryOps

laika.parse.combinator.Parsers.TryOps
implicit class TryOps[A](t: Try[A])

Provides additional methods to Try via implicit conversion.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def toStringEither: Either[String, A]

Converts this instance to an Either[String, A], using the message of the Throwable as the value for the Left instance.

Converts this instance to an Either[String, A], using the message of the Throwable as the value for the Left instance.

Attributes