• Overview
@angular/forms/signals

standardSchemaError

function

API

function standardSchemaError(
  issue: StandardSchemaV1.Issue,
  options: WithField<ValidationErrorOptions>,
): StandardSchemaValidationError;
function standardSchemaError(
  issue: StandardSchemaV1.Issue,
  options?: ValidationErrorOptions | undefined,
): WithoutField<StandardSchemaValidationError>;
function standardSchemaError(issue: StandardSchemaV1.Issue, options: WithField<ValidationErrorOptions>): StandardSchemaValidationError;

Create a standard schema issue error associated with the target field

@paramissueStandardSchemaV1.Issue

The standard schema issue

@paramoptionsWithField<ValidationErrorOptions>

The validation error options

function standardSchemaError(issue: StandardSchemaV1.Issue, options?: ValidationErrorOptions | undefined): WithoutField<StandardSchemaValidationError>;

Create a standard schema issue error

@paramissueStandardSchemaV1.Issue

The standard schema issue

@paramoptionsValidationErrorOptions | undefined

The optional validation error options

Jump to details