TErrorInfo.Create Constructor
Overloads
TErrorInfo.Create(string)
Creates an error item with a message and no error code.
Syntax
Unit: XData.Payload.Writer
constructor TErrorInfo.Create(const AMessage: string);
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| const | AMessage | string | The error message. |
See also
TErrorInfo.Create(string, string)
Creates an error item with an error code and a message.
Syntax
Unit: XData.Payload.Writer
constructor TErrorInfo.Create(const ACode: string; const AMessage: string);
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| const | ACode | string | The error code. |
| const | AMessage | string | The error message. |