System.WideStrings.TWideStrings.Error
Delphi
procedure Error(const Msg: WideString; Data: Integer); overload;
procedure Error(Msg: PResStringRec; Data: Integer); overload;
C++
void __fastcall Error(const System::WideString Msg, int Data)/* overload */;
void __fastcall Error(System::PResStringRec Msg, int Data)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | System.WideStrings.pas System.WideStrings.hpp |
System.WideStrings | TWideStrings |
Description
Raises an EStringListError exception.
TWideStrings calls Error internally to raise an EStringListError exception when it encounters a problem.
Msg specifies the string with a single format specifier for an integer, that appears in the exception message box. It can be either a string, or a pointer to a record structure that indicates the module and resource identifier for a string.
Data is an integer value that is inserted into Msg.