Result

mill.api.Result
See theResult companion trait
object Result

Attributes

Companion
trait
Source
Result.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Result.type

Members list

Type members

Classlikes

class Exception(val error: String) extends Exception

Attributes

Source
Result.scala
Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
case class Failure(error: String) extends Result[Nothing]

Attributes

Source
Result.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Result[Nothing]
class Object
trait Matchable
class Any
Show all
case class Success[+T](value: T) extends Result[T]

Attributes

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

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def fromEither[T](either: Either[String, T]): Result[T]

Attributes

Source
Result.scala
def sequence[B, M <: (IterableOnce)](in: M[Result[B]])(implicit cbf: BuildFrom[M[Result[B]], B, M[B]]): Result[M[B]]

Attributes

Source
Result.scala

Implicits

Implicits

implicit def create[T](value: T): Result[T]

Attributes

Source
Result.scala