Failure

mill.api.Result.Failure
case class Failure(error: String) extends Result[Nothing]

Attributes

Source
Result.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Result[Nothing]
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: Nothing => Result[V]): Result[Nothing]

Attributes

Source
Result.scala
def get: Nothing

Attributes

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

Attributes

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

Attributes

Source
Result.scala
def toOption: Option[Nothing]

Attributes

Source
Result.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product