#include <nitro/mb.h>
typedef enum
{
MB_ERRCODE_SUCCESS = 0,
MB_ERRCODE_INVALID_PARAM,
MB_ERRCODE_INVALID_STATE,
/* for child only */
MB_ERRCODE_INVALID_DLFILEINFO,
MB_ERRCODE_INVALID_BLOCK_NO,
MB_ERRCODE_INVALID_BLOCK_NUM,
MB_ERRCODE_INVALID_FILE,
MB_ERRCODE_INVALID_RECV_ADDR,
MB_ERRCODE_WM_FAILURE,
MB_ERRCODE_FATAL,
MB_ERRCODE_MAX
} MBErrCode;
This shows the enumeration constants that indicate MB library error codes. The meaning of each enumerator constant is shown in the following table:
| Constant | Description |
| MB_ERRCODE_SUCCESS | The process succeeded. |
| MB_ERRCODE_INVALID_PARAM | The parameter provided when the function is called is invalid. This error value is normally determined at the beginning of the function and is returned immediately. |
| MB_ERRCODE_INVALID_STATE | The MB library is not in the expected state. This error value is normally determined at the beginning of the function and is returned immediately. |
| MB_ERRCODE_WM_FAILURE | All recoverable errors generated in the WM library, which runs inside the MB library. This notification has been prepared for debugging. No user action is required when this notification appears. |
| MB_ERRCODE_FATAL | MB library communications cannot continue. This status is usually caused by unexpected exceptions that are generated in an internally running WM library. The MB library will not work until it is re-initialized, but an immediate response from the user application is not required. |
| MB_ERRCODE_INVALID_DLFILEINFO | Only used by an IPL that is a child. |
| MB_ERRCODE_INVALID_BLOCK_NO | |
| MB_ERRCODE_INVALID_BLOCK_NUM | |
| MB_ERRCODE_INVALID_FILE | |
| MB_ERRCODE_INVALID_RECV_ADDR |
MBErrorStatus
MB_CommSetParentStateCallback
MB_CommGetParentState
2004/09/27 Initial version.
CONFIDENTIAL