Success

mill.api.Result.Success
case class Success[+T](value: T) extends Result[T]

Attributes

Source
Result.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Result[T]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def errorOpt: Option[String]

Attributes

Source
Result.scala
def flatMap[V](f: T => Result[V]): Result[V]

Attributes

Source
Result.scala
def get: T

Attributes

Source
Result.scala
def map[V](f: T => V): Result[V]

Attributes

Source
Result.scala
def toEither: Either[String, T]

Attributes

Source
Result.scala
def toOption: Option[T]

Attributes

Source
Result.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product