# MBErrorStatus

## Definitions

  `#include <nitro/mb.h>`

      typedef struct
      {
      u16 errcode;
      } MBErrorStatus;

## Description

This structure, which holds the cause of the error, is passed by the pointer that `MB_COMM_PSTATE_ERROR` returns to the `MB_CommSetParentStateCallback` callback. The meaning of each member is shown in the following table:

Member | Description
errcode | Value of the `MBErrCode` type that indicates MB library error codes.

## See Also

`MB_COMM_PSTATE_ERROR`, `MBErrCode`, `MB_CommSetParentStateCallback`

## Revision History

09/27/2004 Initial version.