object ValidationError extends Serializable

Allows for unordered building of org.scalatra.validation.ValidationError

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ValidationError
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. 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")) or ValidationError("the message", FieldName("email"), ValidationFail) and also ValidationError("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")) or ValidationError("the message", FieldName("email"), ValidationFail) and also ValidationError("the message", FieldName("email"), Some(ValidationFail))

    This method will create a correct ValidationError that looks like: ValidationError("the message", FieldName("email"), Some(ValidationFail), Seq())