DerivationResult

Companion:
class
trait Sum
trait Mirror
class Object
trait Matchable
class Any

Type members

Types

type Diagnostic = Vector[String]

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from:
Mirror

Value members

Concrete methods

def fail(error: DerivationError): DerivationResult[Nothing]
def failMultiple(errors: List[DerivationError]): DerivationResult[Nothing]
def fromEither[E, A](either: Either[E, A])(err: E => DerivationError): DerivationResult[A]
def fromOption[A](opt: Option[A])(err: => DerivationError): DerivationResult[A]
def pure[A](value: A): DerivationResult[A]
def sequence[A, Coll <: (Seq)](seq: Coll[DerivationResult[A]])(implicit factory: Factory[A, Coll[A]]): DerivationResult[Coll[A]]
def unsafe[A](thunk: => A)(error: Throwable => DerivationError): DerivationResult[A]