Invalid

final case class Invalid(errors: NonEmptyList[Error]) extends Validation[Any, Nothing]
trait Serializable
trait Product
trait Equals
class Validation[Any, Nothing]
class Object
trait Matchable
class Any

Value members

Concrete methods

override def errors(input: Any): List[Error]
Definition Classes
override def runUnnormalized(input: Any): ValidatedNel[Error, Nothing]
Definition Classes

Inherited methods

final def andThen[T](validation: Validation[Nothing, T]): Validation[Any, T]
Inherited from:
Validation
final def collect[T](f: PartialFunction[Nothing, T]): Validation[Any, T]
Inherited from:
Validation
final def map[T](f: Nothing => T): Validation[Any, T]
Inherited from:
Validation
final def modifyError(pf: PartialFunction[Error, Error]): Validation[Any, Nothing]
Inherited from:
Validation
final def modifyErrors(f: NonEmptyList[Error] => NonEmptyList[Error]): Validation[Any, Nothing]
Inherited from:
Validation
final def normalize: Validation[Any, Nothing]
Inherited from:
Validation
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product
def run(input: Any): ValidatedNel[Error, Nothing]
Inherited from:
Validation
final def toDebugString: String
Inherited from:
Validation
final def withError(error: Error): Validation[Any, Nothing]
Inherited from:
Validation
final def withErrors(errors: NonEmptyList[Error]): Validation[Any, Nothing]
Inherited from:
Validation