ValidationError

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
Source:
ValidationError.scala
object Message
case class MinSize(path: FieldPath, size: Int) 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
Source:
Mirror.scala

The name of the type

The name of the type

Inherited from:
Mirror
Source:
Mirror.scala