Skip to content

ParseError

The reason for a failed parse.

readonly code: ParseErrorCode

The reason, as a stable code.


readonly segment: Precision | null

The failing segment, for unknown_state and bad_segment only.


readonly suggestion: string | null

The canonical form of one corrected code, or null. It is a hint only.

Unofficial. Not made or endorsed by NIPOST.