jap.fields.error

Type members

Classlikes

case class FieldError[E](path: FieldPath, error: E)

Carries error with path where it occured. Using this can be useful when your error type does not support carrying path where it occured but you actually want to know it.

Carries error with path where it occured. Using this can be useful when your error type does not support carrying path where it occured but you actually want to know it.

Source:
FieldError.scala
sealed trait ValidationError

Predefined Error type that carries error type and human-readable message

Predefined Error type that carries error type and human-readable message

Companion:
object
Source:
ValidationError.scala
case class ValidationMessage(path: FieldPath, error: String, message: Option[String])

Error type that holds path where error occured, error type and human-readable message

Error type that holds path where error occured, error type and human-readable message

Companion:
object
Source:
ValidationMessage.scala

ValidationError error messages

ValidationError error messages

Source:
ValidationMessages.scala

This corresponds to error field of ValidationError with given names

This corresponds to error field of ValidationError with given names

Source:
ValidationTypes.scala