ConvertReturnCodeToLocal
Function Usage
Converts the error code returned by a third-party library to a local error code. This function is for internal use only.
Prototype
1 | APP_ERROR ConvertReturnCodeToLocal(ReturnCodeType type, int errorCode) |
Parameters
Parameter |
Input/Output |
Description |
||
|---|---|---|---|---|
type |
Input |
Return code type. The type options are as follows:
|
||
errorCode |
Input |
Error code |
Response Parameters
Data Structure |
Description |
|---|---|
APP_ERROR |
Local error code |
Parent topic: ErrorCode