Interface ParseFailure

Describes a failed input value parsing

Type parameters

Type parameter Description
TValue
TParseError

correction

correction: TValue

Returns the parse correction, this is the same as the value of the "correction" key in the parse function's return value.

see

ValidatorOptions.parse

error

error: TParseError

Returns the parse error, this is the same as the value of the "error" key in the parse function's return value.

see

ValidatorOptions.parse

isError

isError: true

True for a failed parsing, false otherwise.

Generated using TypeDoc