tuil
ReferencePackages@mwillbanks/tuil-formAPI

FormValidationError

interface exported by @mwillbanks/tuil-form.

View rawEdit

interface

Public interface exported by @mwillbanks/tuil-form.

export interface FormValidationError {
  readonly field: string;
  readonly message: string;
}

Members

MemberTypeRequiredDescriptionRelated types
fieldstringYesThe field member uses the string contract.
messagestringYesThe message member uses the string contract.

Parameters

This declaration has no public members.

Returns

This declaration does not return a value.

Throws

No thrown errors are documented for this declaration.

No package-local related types.

Source

View the secondary source reference

Package

@mwillbanks/tuil-form

On this page