
struct SpawnFailure
{
  SpawnFailure(const char *spawnedTaskName)
  {
    taskName = strdup(spawnedTaskName);
  }
  
  ~SpawnFailure()
  {
    free((void *)taskName);
  }
  
  const char *taskName;
};


struct DeviceEnableFailure
{
};


struct DmError
{
  DmError(int dmErrorCode)
  {
    errorCode = dmErrorCode;
  }
  
  int errorCode;
};



