Web.Stencils.TWebStencilsProcessor.AddError
Delphi
procedure AddError(const AMessage: string); overload; virtual;
procedure AddError(const AMessage: string; const AArgs: array of const); overload;
C++
virtual void __fastcall AddError(const System::UnicodeString AMessage)/* overload */;
void __fastcall AddError(const System::UnicodeString AMessage, const System::TVarRec *AArgs, const System::NativeInt AArgs_High)/* overload */;
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| procedure function | public | Web.Stencils.pas Web.Stencils.hpp | Web.Stencils | TWebStencilsProcessor | 
Description
Outputs the next AMessage error found while processing a template.
The AddError method calls the OnError event.