An error used to indicate that a value does not match the required pattern.
API
class PatternValidationError extends BaseNgValidationError {
constructor(pattern: RegExp, options?: ValidationErrorOptions | undefined): PatternValidationError;
readonly kind: "pattern";
readonly override fieldTree: FieldTree<unknown>;
readonly override message?: string | undefined;
}
constructor
PatternValidationErrorkind
"pattern"fieldTree
FieldTree<unknown>The field associated with this error.
message
string | undefinedHuman readable error message.