
enum error {
	NO_ERROR,  /* No error */
	ERR_PARAM,  /* Illegal value of a parameter.
     * E.g. value must be odd instead of even */
	ERR_ALLOC,  /* Allocation failed */
	ERR_COMPLEX,  /* Illegal operation on a complex image */
	ERR_NO_COMPLEX,  /* Illegal operation on a color image */
	ERR_FILETYPE, /* Inputfile is not an ASM or TCL file */
	ERR_OPENFILE,  /* Opening a file failed */
	ERR_CLOSEFILE,  /* Closing a file failed */
	ERR_READFILE,  /* Reading a file failed */
	ERR_WRITEFILE,  /* Writing a file failed */
	ERR_PRINTER,  /* Printer access failed */
	ERR_NO_PRINTER_INSTALL, /* No printer driver installed */
	ERR_QUEUE,  /* vvv-Queue overflow */
	ERR_UNKNOWN,  /* Unknown command */
	ERR_AMBIGUOUS,  /* Ambigouos command */
	ERR_TRANSFORM,  /* Illegal transformation */
	ERR_NOSHELL,  /* No shell given in setup-file */
	ERR_EXEC,  /* Pexec failed  */
	ERR_ABORT,  /* Command aborted */
	ERR_DECL, /* signal not declared */
	ERR_WINDOWS,  /* Too many displaywindows */
	ERR_SIGNAL,    /* Input does not exist */
	ERR_DOMAIN,    /* Domains do not match  */
	ERR_NO_IMAG,    /* No imaginary part present */
	ERR_NO_REAL,    /* No real part present     */
	ERR_LONG,      /* signal too long  */
	ERR_SIZE,       /* Signals have different sizes */
	ERR_IMPL,       /* Not implemented on complex data */
	ERR_EXIST     /* Signal already exists */
};

