Error message. Variables: #{value} the validated input
Error message.
Error message. Variables: #{value} the validated input
Implement this method in subclasses to validate a value.
Implement this method in subclasses to validate a value.
The value to be validated
Either a boolean indicating if validation is successful or an Optional string with a validation error message. If a boolean (false) is returned an error message will be constructed using the formatMessage method.
Validates that a value is a valid e-mail adress.
Error message. Variables: #{value} the validated input