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: FieldTree<unknown>; readonly message?: string | undefined;}
constructor
BaseNgValidationError@returns
BaseNgValidationErrorkind
stringIdentifies the kind of error.
fieldTree
FieldTree<unknown>The field associated with this error.
message
string | undefinedHuman readable error message.
Jump to details