And

com.github.arturopala.validator.Validator$.And
final case class And extends Error

Sequence of errors resulting from the logical conjunction of constraints.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Error
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

override def and(other: Error): Error

Combines this error with another one using logical conjunction.

Combines this error with another one using logical conjunction.

Attributes

Definition Classes
override def headMessage: String

Returns first error message.

Returns first error message.

Attributes

Definition Classes
override def map(f: String => String): Error

Maps error messages with the provided function.

Maps error messages with the provided function.

Attributes

Definition Classes
override def messages: Seq[String]

Returns all errors' messages in a depth-first flattened sequence.

Returns all errors' messages in a depth-first flattened sequence.

Attributes

Definition Classes
override def or(other: Error): Error

Combines this error with another one using logical disjunction.

Combines this error with another one using logical disjunction.

Attributes

Definition Classes
override def summary: String

Combines all errors' messages into a single sentence.

Combines all errors' messages into a single sentence.

Attributes

Definition Classes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product