CRUDUI

Home > @polyspec/crudui-validator > FormInputError

FormInputError class

Submitted form data whose shape does not match the specification.

Signature:

export declare class FormInputError extends Error 

Extends: Error

Constructors

Constructor

Modifiers

Description

(constructor)(message)

Constructs a new instance of the FormInputError class

Properties

Property

Modifiers

Type

Description

code

readonly

'INVALID_FORM_INPUT'

Stable machine-readable code shared with the form runtime.