mirror of https://github.com/BOINC/boinc.git
Added error codes
Added three error codes for use with the file completion trigger file mechanism of the vboxwrapper.
This commit is contained in:
parent
6c06bfc390
commit
b4becd9fcc
|
@ -499,6 +499,10 @@ function result_error_mask_str($x){
|
||||||
case 202: return "EXIT_ABORTED_BY_PROJECT";
|
case 202: return "EXIT_ABORTED_BY_PROJECT";
|
||||||
case 203: return "EXIT_ABORTED_VIA_GUI";
|
case 203: return "EXIT_ABORTED_VIA_GUI";
|
||||||
case 204: return "EXIT_UNKNOWN";
|
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 -100: return "ERR_SELECT";
|
||||||
case -102: return "ERR_READ";
|
case -102: return "ERR_READ";
|
||||||
case -103: return "ERR_WRITE";
|
case -103: return "ERR_WRITE";
|
||||||
|
|
|
@ -39,6 +39,9 @@
|
||||||
#define EXIT_ABORTED_VIA_GUI 203
|
#define EXIT_ABORTED_VIA_GUI 203
|
||||||
#define EXIT_UNKNOWN 204
|
#define EXIT_UNKNOWN 204
|
||||||
#define EXIT_OUT_OF_MEMORY 205
|
#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.
|
// Function return values.
|
||||||
// NOTE: add new errors to the end of the list and don't change
|
// NOTE: add new errors to the end of the list and don't change
|
||||||
|
|
Loading…
Reference in New Issue