UINT32 LOS_ErrHandle ( CHAR pcFileName,
UINT32  uwLineNo,
UINT32  uwErrorNo,
UINT32  uwParaLen,
VOID *  pPara  
)

Error handling function.

Description:
This API is used to perform different operations according to error types.
注意:
  • None
参数:
参数名称 描述
pcFileName  [IN] Log file that stores error information.
uwLineNo  [IN] Line number of the erroneous line which should not be OS_ERR_MAGIC_WORD.
uwErrorNo  [IN] Error code.
uwParaLen  [IN] Length of the input parameter pPara.
pPara  [IN] User label of the error.
返回值:
返回值 描述
LOS_OK  The error is successfully processed.
Dependency:
  • los_err.h: the header file that contains the API declaration.
参见:
None
自从:
Huawei LiteOS V100R001C00