|
ev3duder
0.3.0
EV3 Downloader/Uploader
|
Error enumerations and decriptions. More...
#include "defs.h"Go to the source code of this file.
Macros | |
| #define | EXTERN extern |
| For avoiding the need to separately define and declare stuff. More... | |
Enumerations | |
| enum | ERR { ERR_UNK = 0, ERR_ARG, ERR_IO, ERR_FTOOBIG, ERR_NOMEM, ERR_COMM, ERR_VM, ERR_SYS, ERR_END } |
Errors returnable from main. More... | |
| enum | { VM_OK = 0x03, VM_ERROR = 0x05 } |
| Statuses from VM. More... | |
| enum | { SUCCESS = 0, UNKNOWN_HANDLE, HANDLE_NOT_READY, CORRUPT_FILE, NO_HANDLES_AVAILABLE, NO_PERMISSION, ILLEGAL_PATH, FILE_EXITS, END_OF_FILE, SIZE_ERROR, UNKNOWN_ERROR, ILLEGAL_FILENAME, ILLEGAL_CONNECTION, ERRORS_END } |
Variables | |
| EXTERN const char * | errmsg |
| global variable for last error message More... | |
| EXTERN const char *const | ev3_error_msgs [ERRORS_END+1] |
Error enumerations and decriptions.
Definition in file error.h.
| #define EXTERN extern |
| anonymous enum |
| enum ERR |
| EXTERN const char* errmsg |
| EXTERN const char* const ev3_error_msgs[ERRORS_END+1] |
ev3_error description strings, found by trial and error