Revision 188
many changes
errors.h | ||
---|---|---|
3 | 3 |
|
4 | 4 |
/** @brief Error Codes */ |
5 | 5 |
enum errors { |
6 |
SUCCESS = 0, /* @brief Sucessful */ |
|
7 |
NULL_PTR, /* @brief Null Pointer Error */ |
|
8 |
LCF_ERROR, /* @brief Error originated on LCF */ |
|
9 |
SBCR_ERROR, /* @brief Error on Subscribing Interrupt */ |
|
10 |
UNSBCR_ERROR, /* @brief Error on Unsubscring Interrupt*/ |
|
11 |
READ_ERROR, /* @brief Error on Reading from Port */ |
|
12 |
WRITE_ERROR, /* @brief Error on Writing to Port */ |
|
13 |
TIMEOUT_ERROR, /* @brief Timeout error */ |
|
14 |
INVALID_COMMAND, /* @brief Invalid Command issued */ |
|
15 |
INVALID_STATE, /* @brief State machine reached an invalid state */ |
|
16 |
BIOS_CALL_ERROR, /* @brief Error upon BIOS call */ |
|
17 |
OUT_OF_RANGE, /* @brief Accessing area out of range of memory */ |
|
18 |
OTHER_ERROR /* @brief Unspecified error */ |
|
6 |
SUCCESS = 0, /** @brief Sucessful */ |
|
7 |
NULL_PTR, /** @brief Null Pointer Error */ |
|
8 |
LCF_ERROR, /** @brief Error originated on LCF */ |
|
9 |
SBCR_ERROR, /** @brief Error on Subscribing Interrupt */ |
|
10 |
UNSBCR_ERROR, /** @brief Error on Unsubscring Interrupt*/ |
|
11 |
READ_ERROR, /** @brief Error on Reading from Port */ |
|
12 |
WRITE_ERROR, /** @brief Error on Writing to Port */ |
|
13 |
TIMEOUT_ERROR, /** @brief Timeout error */ |
|
14 |
INVALID_COMMAND, /** @brief Invalid Command issued */ |
|
15 |
INVALID_STATE, /** @brief State machine reached an invalid state */ |
|
16 |
BIOS_CALL_ERROR, /** @brief Error upon BIOS call */ |
|
17 |
OUT_OF_RANGE, /** @brief Accessing area out of range of memory */ |
|
18 |
ALLOC_ERROR, /** @brief Memory allocation error */ |
|
19 |
LOGIC_ERROR, /** @brief Logic error */ |
|
20 |
OTHER_ERROR /** @brief Unspecified error */ |
|
19 | 21 |
}; |
20 | 22 |
|
21 | 23 |
#endif //ERRORS_H_INCLUDED |
Also available in: Unified diff