ValidationResult

net.wiringbits.webapp.common.validators.ValidationResult
See theValidationResult companion object
sealed trait ValidationResult[T] extends Product, Serializable

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
class Invalid[T]
class Valid[T]

Members list

Value members

Abstract methods

def input: String

Concrete methods

def contains(target: T): Boolean
def errorMessage: Option[String]
def flatMap[U](f: T => ValidationResult[U]): ValidationResult[U]
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

Attributes

Inherited from:
Equals
def productArity: Int

Attributes

Inherited from:
Product
def productElement(n: Int): Any

Attributes

Inherited from:
Product
def productElementName(n: Int): String

Attributes

Inherited from:
Product
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def productPrefix: String

Attributes

Inherited from:
Product