System.Generics.Collections.TList.Error
Delphi
class procedure Error(const Msg: string; Data: NativeInt); overload; virtual;
class procedure Error(Msg: PResStringRec; Data: NativeInt); overload;
C++
__classmethod virtual void __fastcall Error(const System::UnicodeString Msg, NativeInt Data)/* overload */;
__classmethod void __fastcall Error(System::PResStringRec Msg, NativeInt Data)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.Generics.Collections.pas System.Generics.Collections.hpp |
System.Generics.Collections | TList |
Description
Raises an exception with the specified error message.
Msg
is a formatted message string, the error message of the exception, and Data
is a value to format according to format specifiers in Msg
, and insert into Msg
.