Spec-Zone.ru › Angular

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
@paramoptionsValidationErrorOptions | undefined
@returnsBaseNgValidationError

kind

string

Identifies the kind of error.

fieldTree

ReadonlyFieldTree<unknown>

The field associated with this error.

message

string | undefined

Human 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

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API