#ifndef ERRORS_H_INCLUDED
#define ERRORS_H_INCLUDED

// Module error tokens, looked up via MessageTrans against
// Resources.UK.Messages - see c.errors. Order must match the errors[]
// table there.
typedef enum {
  Error_Syntax,
  Error_BadNoParms,
  Error_TooManyParms,
  Error_NoSuchSWI,
  Error_ModuleBadSWI,
  Error_BadJoy,
  Error_NoUSB,
  Error_JoyNotActive,
  Error_JoyNotOpen,
  Error_NoChoicesWrite,

  Error_MAX,
} Error;

_kernel_oserror *geterror(Error e);
_kernel_oserror *geterror_p(Error e, const char *arg0);

#endif
