• Overview
@angular/forms/signals

CustomValidationError

Class

A custom error that may contain additional properties

API

    
      class CustomValidationError implements ValidationError {}
    
    

constructor

CustomValidationError
@paramoptionsValidationErrorOptions | undefined

kind

string

Identifies the kind of error.

field

() => FieldState<unknown, string | number>

The field associated with this error.

message

string | undefined

Human readable error message.

Jump to details