System.Classes.TParser.ErrorStr
Delphi
procedure ErrorStr(const Message: string);
C++
void __fastcall ErrorStr(const System::UnicodeString Message);
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| procedure function | public | System.Classes.pas System.Classes.hpp | System.Classes | TParser | 
Description
Raise an EParserError error with a specific message.
Call ErrorStr to force the raising of an EParserError exception with an error message specified by S.
Use this to simulate an error encountered in the parsing of a file.