ValidationRule

Companion
class
class Object
trait Matchable
class Any

Type members

Classlikes

case class Error(rule: ValidationRule, reason: String)
case class Errors(value: ValidatedValue, errors: NonEmptyList[Error])

Value members

Concrete methods

def apply(name: String)(validator: String => Boolean, errorReason: => String): ValidationRule