DerivationResult

sealed trait DerivationResult[+A] extends Product with Serializable

Helper which allows: use of for-comprehension, parallel error composition, logging

Companion:
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Abstract methods

Concrete methods

final def flatMap[B](f: A => DerivationResult[B]): DerivationResult[B]
final def fold[B](success: A => B)(failure: List[DerivationError] => B): B
final def log(message: String): DerivationResult[A]
final def logFailure(failure: List[DerivationError] => String): DerivationResult[A]
final def logResult(success: A => String)(failure: List[DerivationError] => String): DerivationResult[A]
final def logSuccess(success: A => String): DerivationResult[A]
final def map[B](f: A => B): DerivationResult[B]
final def map2[B, C](other: DerivationResult[B])(f: (A, B) => C): DerivationResult[C]
def orElse[A1 >: A](result: => DerivationResult[A1]): DerivationResult[A1]
final def zip[B](other: DerivationResult[B]): DerivationResult[(A, B)]

Inherited methods

def canEqual(that: Any): Boolean
Inherited from:
Equals
def productArity: Int
Inherited from:
Product
def productElement(n: Int): Any
Inherited from:
Product
def productElementName(n: Int): String
Inherited from:
Product
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product
def productPrefix: String
Inherited from:
Product