GEGetErrorMsg

Description

Obtains and clears the error message returned by other API call failure in the calling process or thread.

This API cannot be used together with GEGetErrorMsgV2. The recommended API is GEGetErrorMsgV2.

Prototype

std::string GEGetErrorMsg();

Parameters

None

Returns

Parameter

Type

Description

-

std::string

Error message displayed during the execution.

Restrictions

You are advised to call this API when an error is reported during execution, to obtain the error message for fault locating.