Program Listing for File flags.hpp

Return to documentation for file (include/ecl/errors/flags.hpp)

/*****************************************************************************
** Ifdefs
*****************************************************************************/

#ifndef ECL_ERRORS_FLAGS_HPP_
#define ECL_ERRORS_FLAGS_HPP_

/*****************************************************************************
** Namespaces
*****************************************************************************/

namespace ecl {


/*****************************************************************************
** Error Flags
*****************************************************************************/
enum ErrorFlag {
    NoError = 0,
    UnknownError = -1,
    OutOfRangeError = -2,
    ConstructorError = -3,
    DestructorError = -4,
    ConversionError = -5,
    OpenError = -6,
    CloseError = -7,
    InvalidArgError = -8,
    ConfigurationError = -9,
    ConnectionError = -10,
    ReadError = -11,
    WriteError = -12,
    NotInitialisedError = -13,
    PermissionsError = -14,
    MemoryError = -15,
    UsageError = -16,
    RaiiError = -17,
    ArgNotSupportedError = -18,
    NotSupportedError = -19,
    BusyError = -20,
    OutOfResourcesError = -21,
    InterruptedError = -22,
    BlockingError = -23,
    SystemFailureError = -24,
    InvalidObjectError = -25,
    IsLockedError = -26,
    TimeOutError = -27,
    NotFoundError = -28,
    ConnectionRefusedError = -29,
    PosixError = -101,
    InvalidInputError = -103
};


} // namespace ecl

#endif /* ECL_ERRORS_FLAGS_HPP_ */