System.Classes.TParser.Error
Delphi
procedure Error(const Ident: string); overload;
procedure Error(const IdentRes: PResStringRec); overload;
C++
void __fastcall Error(const System::UnicodeString Ident)/* overload */;
void __fastcall Error(const System::PResStringRec IdentRes)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.Classes.pas System.Classes.hpp |
System.Classes | TParser |
Description
Raise an EParserError error.
Call Error to force the raising of an EParserError exception. Use this to simulate an error encountered in the parsing of a file.