|
int32_t | BSL_ERR_Init (void) |
| Initialize Error code module.
|
|
void | BSL_ERR_DeInit (void) |
| Error code module deinitialization.
|
|
void | BSL_ERR_RemoveErrorStack (bool isRemoveAll) |
| Delete the error stack
|
|
int32_t | BSL_ERR_GetLastError (void) |
| Obtains the error code of the last push in the error stack.
|
|
int32_t | BSL_ERR_GetLastErrorFileLine (const char **file, uint32_t *lineNo) |
| Obtains the error code, file name, and line number of the last push message in the error stack.
|
|
int32_t | BSL_ERR_PeekLastErrorFileLine (const char **file, uint32_t *lineNo) |
| Obtain the error code, file name, and line number of the last push message in the error stack.
|
|
int32_t | BSL_ERR_GetError (void) |
| Obtain the earliest push error code in the error stack.
|
|
int32_t | BSL_ERR_GetErrorFileLine (const char **file, uint32_t *lineNo) |
| Obtain the error code, file name, and line number of the earliest push message in the error stack.
|
|
int32_t | BSL_ERR_PeekErrorFileLine (const char **file, uint32_t *lineNo) |
| Obtain the error code, file name, and line number of the earliest push message in the error stack.
|
|
void | BSL_ERR_ClearError (void) |
| Clear the error stack.
|
|
int32_t | BSL_ERR_AddErrStringBatch (const BSL_ERR_Desc *descList, uint32_t num) |
| Add an error description string to an error code.
|
|
void | BSL_ERR_RemoveErrStringBatch (void) |
| Delete the error description
|
|
const char * | BSL_ERR_GetString (int32_t error) |
| Obtain the error description string based on the error code.
|
|
int32_t | BSL_ERR_SetMark (void) |
| Set the pop-up flag at the level of the current error stack.
|
|
int32_t | BSL_ERR_PopToMark (void) |
| Pop to the marked error stack level and clear the mark
|
|
int32_t | BSL_ERR_ClearLastMark (void) |
| Clear the latest flag in the error stack.
|
|