Error

org.encalmo.validator.Validator.Error
See theError companion object
sealed trait Error

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class And
class Or
class Single

Members list

Value members

Abstract methods

def and(other: Error): Error

Combines this error with another one using logical conjunction.

Combines this error with another one using logical conjunction.

Attributes

Returns first error message.

Returns first error message.

Attributes

def map(f: String => String): Error

Maps error messages with the provided function.

Maps error messages with the provided function.

Attributes

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

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

Attributes

def or(other: Error): Error

Combines this error with another one using logical disjunction.

Combines this error with another one using logical disjunction.

Attributes

Combines all errors' messages into a single sentence.

Combines all errors' messages into a single sentence.

Attributes