W3cubDocs

/Angular

standardSchemaError

API

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

Create a standard schema issue error associated with the target field

@paramissueStandardSchemaV1.Issue

The standard schema issue

@paramoptionsWithFieldTree<ValidationErrorOptions>

The validation error options

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

Create a standard schema issue error

@paramissueStandardSchemaV1.Issue

The standard schema issue

@paramoptionsValidationErrorOptions | undefined

The optional validation error options

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/standardSchemaError