Added error codes

Added three error codes for use with the file completion trigger file mechanism of the vboxwrapper.
This commit is contained in:
Laurence Field 2016-05-03 11:32:05 +02:00
parent 6c06bfc390
commit b4becd9fcc
2 changed files with 7 additions and 0 deletions

View File

@ -499,6 +499,10 @@ function result_error_mask_str($x){
case 202: return "EXIT_ABORTED_BY_PROJECT";
case 203: return "EXIT_ABORTED_VIA_GUI";
case 204: return "EXIT_UNKNOWN";
case 205: return "EXIT_OUT_OF_MEMORY";
case 206: return "EXIT_INIT_FAILURE";
case 207: return "EXIT_NO_SUB_TASKS";
case 208: return "EXIT_SUB_TASK_FAILURE";
case -100: return "ERR_SELECT";
case -102: return "ERR_READ";
case -103: return "ERR_WRITE";

View File

@ -39,6 +39,9 @@
#define EXIT_ABORTED_VIA_GUI 203
#define EXIT_UNKNOWN 204
#define EXIT_OUT_OF_MEMORY 205
#define EXIT_INIT_FAILURE 206
#define EXIT_NO_SUB_TASKS 207
#define EXIT_SUB_TASK_FAILURE 208
// Function return values.
// NOTE: add new errors to the end of the list and don't change