ValidationError

Companion:
class
trait Sum
trait Mirror
class Object
trait Matchable
class Any

Type members

Classlikes

case class Empty(path: FieldPath) extends ValidationError
case class Equal(path: FieldPath, compared: String) extends ValidationError
case class Greater(path: FieldPath, compared: String) extends ValidationError
case class GreaterEqual(path: FieldPath, compared: String) extends ValidationError
case class Invalid(path: FieldPath) extends ValidationError
case class Less(path: FieldPath, compared: String) extends ValidationError
case class LessEqual(path: FieldPath, compared: String) extends ValidationError
case class MaxSize(path: FieldPath, size: Int) extends ValidationError
case class Message(path: FieldPath, error: String, message: Option[String]) extends ValidationError

If you dont need to match on errors and just want to have separate error and user message, use this rather than ValidationError

If you dont need to match on errors and just want to have separate error and user message, use this rather than ValidationError

Companion:
object
object Message
Companion:
class
case class MinSize(path: FieldPath, size: Int) extends ValidationError
case class NonEmpty(path: FieldPath) extends ValidationError
case class NotEqual(path: FieldPath, compared: String) extends ValidationError
case class OneOf(path: FieldPath, variants: Seq[String]) extends ValidationError

Inherited types

The names of the product elements

The names of the product elements

Inherited from:
Mirror

The name of the type

The name of the type

Inherited from:
Mirror