ValidationResult

sealed trait ValidationResult[T] extends Product with Serializable
Companion:
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
class Invalid[T]
class Valid[T]

Value members

Abstract methods

def input: String

Concrete methods

def contains(target: T): Boolean
def errorMessage: Option[String]
def hasError: Boolean
def isValid: Boolean
def map[U](f: T => U): ValidationResult[U]
def toOption: Option[T]

Inherited methods

def canEqual(that: Any): Boolean
Inherited from:
Equals
def productArity: Int
Inherited from:
Product
def productElement(n: Int): Any
Inherited from:
Product
def productElementName(n: Int): String
Inherited from:
Product
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product
def productPrefix: String
Inherited from:
Product