class ErrorValidator extends RegexValidator
Validates whether the value is a valid error per RFC 6749.