Fail

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

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

Type parameters:
E

the type of value describing a validation failure for this Fail

Value parameters:
error

an error value describing the validation failure

Source:
Validation.scala
trait Validation[E]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

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.

Value parameters:
other

the other validation to and with this one

Returns:

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

Source:
Validation.scala

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product