DBR_GetErrorString Function
Gets the description that matches a specified error code.
Syntax
const char* DBR_GetErrorString(int iErrorCode);
Parameters
- iErrorCode
- The specified error code.
Return Value
The description of the specified error code.
Remarks
Check out Error List for more info.
Example
if (iRet != DBR_OK)
{
printf("Error: %d\r\n%s\r\n",iRet, DBR_GetErrorString(iRet));
}
See Also
C > Constant > Error List