• Overview
@angular/forms/signals

BaseNgValidationError

Class

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

kind

string

Identifies the kind of error.

fieldTree

FieldTree<unknown>

The field associated with this error.

message

string | undefined

Human readable error message.

Jump to details