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

Define the pointer to the error handling function.

Description:
This API is used to define the pointer to the error handling function.
注意:
  • None.
参数:
参数名称 描述
pcFileName  [IN] Log file that stores error information.
uwLineNo  [IN] Line number of the erroneous line.
uwErrorNo  [IN] Error code.
uwParaLen  [IN] Length of the input parameter pPara.
pPara  [IN] User label of the error.
返回值:
返回值 描述
None. 
Dependency:
  • los_err.h: the header file that contains the API declaration.
参见:
None.
自从:
Huawei LiteOS V100R001C00

在文件los_err.h74行定义。