GetError
Function Usage
This function is used to obtain error information based on the error code and allows users to add the module name.
Prototype
std::string GetError(APP_ERROR err, std::string moduleName = "");
Parameter Description
Parameter |
Input/Output |
Description |
|---|---|---|
err |
Input |
Error code. |
moduleName |
Input |
Name of the module where an error occurs. |
Return Parameter Description
Data Structure |
Description |
|---|---|
std::string |
Error information corresponding to the error code. |
Parent topic: ErrorCode