ConvertReturnCodeToLocal
Function Usage
Internally converts the error code returned by a third-party library to a local error code.
Prototype
APP_ERROR ConvertReturnCodeToLocal(ReturnCodeType type, int errCode)
Parameter Description
Parameter |
Input/Output |
Description |
|---|---|---|
type |
Input |
Return code type. See the following: enumReturnCodeType {
GST_FLOW_TYPE = 0,
};
|
errCode |
Input |
Error code |
Return Parameter Description
Data Structure |
Description |
|---|---|
APP_ERROR |
Local error code |
Parent topic: ErrorCode