Scalactic is brought to you by:

case class Fail[E](error: E) extends Validation[E] with Product with Serializable

Indicates a validation failed, describing the failure with a contained error value.

E

the type of value describing a validation failure for this Fail

error

an error value describing the validation failure

Source
Validation.scala
Linear Supertypes
Validation[E], Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Fail
  2. Validation
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Fail(error: E)

    error

    an error value describing the validation failure

Value Members

  1. def &&[F >: E](other: => Validation[F]): Validation[F]

    Ands this Validation with another, passed, Validation.

    Ands this Validation with another, passed, Validation.

    The result of invoking this method will be this same Fail object. It will not execute the passed by-name.

    other

    the other validation to and with this one

    returns

    the result of anding this Validation with the other, passed, Validation

    Definition Classes
    FailValidation
  2. val error: E
  3. def productElementNames: Iterator[String]
    Definition Classes
    Product