19 lines
404 B
C
19 lines
404 B
C
|
#ifndef BASE_ERROR_STATE_H
|
||
|
#define BASE_ERROR_STATE_H
|
||
|
|
||
|
//----------------------------------------------------------------
|
||
|
|
||
|
namespace base {
|
||
|
enum error_state {
|
||
|
NO_ERROR,
|
||
|
NON_FATAL, // eg, lost blocks
|
||
|
FATAL // needs fixing before pool can be activated
|
||
|
};
|
||
|
|
||
|
error_state combine_errors(error_state lhs, error_state rhs);
|
||
|
}
|
||
|
|
||
|
//----------------------------------------------------------------
|
||
|
|
||
|
#endif
|