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
Ordering
- Alphabetic
- By Inheritance
Inherited
- Fail
- Validation
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Fail(error: E)
- error
an error value describing the validation failure
Value Members
- def &&[F >: E](other: => Validation[F]): Validation[F]
Ands this
Validationwith another, passed,Validation.Ands this
Validationwith another, passed,Validation.The result of invoking this method will be this same
Failobject. It will not execute the passed by-name.- other
the other validation to and with this one
- returns
the result of anding this
Validationwith the other, passed,Validation
- Definition Classes
- Fail → Validation
- val error: E
- def productElementNames: Iterator[String]
- Definition Classes
- Product
