$search
00001 00008 /***************************************************************************** 00009 ** Ifdefs 00010 *****************************************************************************/ 00011 00012 #ifndef ECL_ERRORS_FLAGS_HPP_ 00013 #define ECL_ERRORS_FLAGS_HPP_ 00014 00015 /***************************************************************************** 00016 ** Includes 00017 *****************************************************************************/ 00018 00019 /***************************************************************************** 00020 ** Namespaces 00021 *****************************************************************************/ 00022 00023 namespace ecl { 00024 00025 00026 /***************************************************************************** 00027 ** Error Flags 00028 *****************************************************************************/ 00036 enum ErrorFlag { 00037 NoError = 0, 00038 UnknownError = -1, 00039 OutOfRangeError = -2, 00040 ConstructorError = -3, 00041 DestructorError = -4, 00042 ConversionError = -5, 00043 OpenError = -6, 00044 CloseError = -7, 00045 InvalidArgError = -8, 00046 ConfigurationError = -9, 00047 ConnectionError = -10, 00048 ReadError = -11, 00049 WriteError = -12, 00050 NotInitialisedError = -13, 00051 PermissionsError = -14, 00052 MemoryError = -15, 00053 UsageError = -16, 00054 RaiiError = -17, 00055 ArgNotSupportedError = -18, 00056 NotSupportedError = -19, 00057 BusyError = -20, 00058 OutOfResourcesError = -21, 00059 InterruptedError = -22, 00060 BlockingError = -23, 00061 SystemFailureError = -24, 00062 InvalidObjectError = -25, 00063 IsLockedError = -26, 00064 TimeOutError = -27, 00065 NotFoundError = -28, 00066 ConnectionRefusedError = -29, 00067 PosixError = -101, 00068 InvalidInputError = -103 00069 }; 00070 00071 00072 } // namespace ecl 00073 00074 #endif /* ECL_ERRORS_FLAGS_HPP_ */