System.Classes.TParserErrorEvent
Delphi
TParserErrorEvent = procedure (Sender: TObject; const Message: string; var Handled: Boolean) of object;
C++
typedef void __fastcall (__closure *TParserErrorEvent)(System::TObject* Sender, const System::UnicodeString Message, bool &Handled);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
type typedef |
public | System.Classes.pas System.Classes.hpp |
System.Classes | System.Classes |
Description
TParserErrorEvent is a callback procedure used by the TClassFinder class.
TParserErrorEvent is a type of call back procedure that is called by the TParser class OnError event.
Sender is a reference to the TParser instance that has encountered an error and invoked the callback procedure.
Message is the error message.
Handled is a set to false if you want the error to raise an exception. If you want processing to continue, set this value to true.