Fail

org.scalactic.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

Attributes

Source
Validation.scala
Graph
Supertypes
trait Validation[E]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

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

Attributes

Returns

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

Source
Validation.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product