TFormer_GetLastErrorInformation
Error-Handling · String encodings
Definition
Windows: ANSI; Unix: UTF-8
LPCSTR TFormer_GetLastErrorInformation(HTFORM pInstance);
Windows only: UTF-16
LPCWSTR TFormer_GetLastErrorInformationW(HTFORM pInstance);
Contract
Returns the last error information as string.
This function is used to retrieve detailed information about an error. Call this function after any method returned an error code not equal to ErrOk (0). The error information holds extra information regarding the error - e.g. the text of a validation rule.
Returns
Error information or empty string if no information is available.
Parameters
| Parameter / type | Description |
|---|---|
pInstanceHTFORM |
|
Warning
Subject to change!