1 #ifndef CVM__ERRORS__H__ 2 #define CVM__ERRORS__H__ 3 4 #define CVME_GENERAL 1 5 #define CVME_BAD_CLIDATA 2 6 #define CVME_BAD_MODDATA 3 7 #define CVME_IO 4 8 #define CVME_NOFACT 5 9 #define CVME_CONFIG 6 10 #define CVME_NOCRED 7 11 #define CVME_PERMFAIL 100 12 13 /* This error code is only used by modules, to signal that the error 14 is fatal and should cause module shutdown. */ 15 #define CVME_FATAL 0x100 16 17 #define CVME_MASK 0x0ff 18 19 extern const char* const cvm_errlist[]; 20 extern const int cvm_nerr; 21 22 #endif 23