#ifndef _IBCAPPERROR_H
#define _IBCAPPERROR_H

struct IbcAppError
{
  enum Error
  {
    General,
    Micro,           // MicroComm-related error
    DataMgr,         // DataManager-related error
    MaxChannels,     // Exceeded max no of channels on switch card 
  };
  
  Error error;
  const char *msg;

  IbcAppError(Error error, const char *objectName, const char *description);
  ~IbcAppError();
  
};




#endif
