Error Handling
Overview
This group defines additional CSI specific function return and error codes for the CSI API functions.
All common error codes are defined in err_codes.h
- Note
- Please remember that all error codes will be returned as negative values. I.e. the error code CSI_ERR_ACC_TOGGLE_BIT will be returned as -CSI_ERR_ACC_TOGGLE_BIT (0xFAFD0000)
![+](closed.png)
Modules | |
CANopen-specific error codes | |
maxon specific error codes | |
Functions | |
CSI_API const char * | CsiErrorToString (long ErrCode) |
This function converts error code into error string. More... | |
Function Documentation
CSI_API const char* CsiErrorToString | ( | long | ErrCode | ) |
This function converts error code into error string.
- Parameters
-
[in] ErrCode Numeric error code to convert into error message string
- Returns
- Error string
static const TCsiErrTblEntry CsiErrMsgTbl[CSI_ERR_MSG_TBL_SIZE]
Table of error messages.
Definition: csi_err.c:39
const char * ErrorToString(TErrCode ErrNum)
This function converts error code into error string.
Definition: err_codes.c:22
![+](closed.png)