17 lines
535 B
C
17 lines
535 B
C
#ifndef ERROR_CODE_H
|
|
#define ERROR_CODE_H
|
|
|
|
#include <limits.h>
|
|
|
|
// enum of all error code that may occur during the plein_de_eeeeeeeeeeeeeee application runtime
|
|
enum error_code{
|
|
success = 0, // any kind of success
|
|
init_failed, // error related to initialization
|
|
read_failed, // error related to reading action
|
|
write_failed, // error related to writing action
|
|
error_unknown, // any error not linked to other code
|
|
error_code_last, // iteration purpose
|
|
};
|
|
|
|
#endif //ERROR_CODE_H
|