EitherObjectOps

org.specs2.fp.EitherObjectOps
final class EitherObjectOps(val either: Either) extends AnyVal

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

def catchNonFatal[A](f: => A): Either[Throwable, A]
def fromOption[A, B](o: Option[B], ifNone: => A): Either[A, B]
def fromTry[A](t: Try[A]): Either[Throwable, A]
def left[A, B](a: A): Either[A, B]
def right[A, B](b: B): Either[A, B]

Concrete fields

val either: Either