BaseNgValidationError
Internal version of NgValidationError, we create this separately so we can change its type on the exported version to a type union of the possible sub-classes.
API
abstract class BaseNgValidationError implements ValidationError {
constructor(options?: ValidationErrorOptions | undefined): BaseNgValidationError;
readonly kind: string;
readonly fieldTree: ReadonlyFieldTree<unknown>;
readonly message?: string | undefined;
}
constructor
BaseNgValidationError
@returns
BaseNgValidationError
kind
stringIdentifies the kind of error.
fieldTree
ReadonlyFieldTree<unknown>The field associated with this error.
message
string | undefinedHuman readable error message.
Super-powered by Google ©2010–2025.
Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.
https://angular.dev/api/forms/signals/BaseNgValidationError