[Overview][Constants][Types][Classes][Procedures and functions][Variables] | Reference for unit 'Classes' (#fcl)

# EParserError

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Exception raised when an error occurs during the parsing of streams.

## Declaration

`type EParserError = class(Exception) end;`

## Inheritance

`EParserError` |  | Exception raised when an error occurs during the parsing of streams.
`Exception`
?
`TObject`

## Description

When an error occurs during the parsing of a stream, an EParserError is raised. Usually this indicates that an invalid token was found on the input stream, or the token read from the stream wasn't the expected token.

## See also

TParser |  | Class to parse the contents of a stream containing text data.