object ValidationError extends Serializable
Allows for unordered building of org.scalatra.validation.ValidationError
- Alphabetic
- By Inheritance
- ValidationError
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
def
apply(msg: String, arguments: Any*): ValidationError
Allows for unordered building of org.scalatra.validation.ValidationError You can add do
ValidationError("the message", ValidationFail, FieldName("email"))
orValidationError("the message", FieldName("email"), ValidationFail)
and alsoValidationError("the message", FieldName("email"), Some(ValidationFail))
Allows for unordered building of org.scalatra.validation.ValidationError You can add do
ValidationError("the message", ValidationFail, FieldName("email"))
orValidationError("the message", FieldName("email"), ValidationFail)
and alsoValidationError("the message", FieldName("email"), Some(ValidationFail))
This method will create a correct ValidationError that looks like:
ValidationError("the message", FieldName("email"), Some(ValidationFail), Seq())