Invalid

com.github.arturopala.validator.Validator$.Invalid$
object Invalid

Invalid result helpers.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Invalid.type

Members list

Concise view

Value members

Concrete methods

def apply(errorMessage: String): Result

Creates representation of a failed validation result with single error message.

Creates representation of a failed validation result with single error message.

Attributes

def apply(firstErrorMessage: String, nextErrorMessages: String*): Result

Creates representation of a failed validation result with multiple error messages.

Creates representation of a failed validation result with multiple error messages.

Attributes