forked from BOINC/boinc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patherror_numbers.h
executable file
·175 lines (171 loc) · 6.2 KB
/
error_numbers.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
// Berkeley Open Infrastructure for Network Computing
// http://boinc.berkeley.edu
// Copyright (C) 2005 University of California
//
// This is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation;
// either version 2.1 of the License, or (at your option) any later version.
//
// This software is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// See the GNU Lesser General Public License for more details.
//
// To view the GNU Lesser General Public License visit
// http://www.gnu.org/copyleft/lesser.html
// or write to the Free Software Foundation, Inc.,
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
// NOTE: add new errors to the end of the list and don't change
// old error numbers to avoid confusion between versions. Add
// a text description of your error to boincerror() in util.C.
//
#define BOINC_SUCCESS 0
#define ERR_SELECT -100
#define ERR_MALLOC -101
#define ERR_READ -102
#define ERR_WRITE -103
#define ERR_FREAD -104
#define ERR_FWRITE -105
#define ERR_IO -106
#define ERR_CONNECT -107
#define ERR_FOPEN -108
#define ERR_RENAME -109
#define ERR_UNLINK -110
#define ERR_OPENDIR -111
#define ERR_XML_PARSE -112
// Unexpected XML tag or XML format
#define ERR_GETHOSTBYNAME -113
// Couldn't resolve hostname
#define ERR_GIVEUP_DOWNLOAD -114
// too much time has elapsed without progress on file xfer,
// or we got a 404 (not found) status code from server
#define ERR_GIVEUP_UPLOAD -115
#define ERR_NULL -116
// unexpected NULL pointer
#define ERR_NEG -117
// unexpected negative value
#define ERR_BUFFER_OVERFLOW -118
// caught buffer overflow
#define ERR_MD5_FAILED -119
// MD5 checksum failed for a file
#define ERR_RSA_FAILED -120
// RSA key check failed for a file
#define ERR_OPEN -121
#define ERR_DUP2 -122
#define ERR_NO_SIGNATURE -123
#define ERR_THREAD -124
// Error creating a thread
#define ERR_SIGNAL_CATCH -125
#define ERR_UPLOAD_TRANSIENT -127
#define ERR_UPLOAD_PERMANENT -128
#define ERR_IDLE_PERIOD -129
// can't start work because of user prefs
#define ERR_ALREADY_ATTACHED -130
#define ERR_FILE_TOO_BIG -131
// an output file was bigger than max_nbytes
#define ERR_GETRUSAGE -132
// getrusage failed
#define ERR_BENCHMARK_FAILED -133
#define ERR_BAD_HEX_FORMAT -134
// hex-format key data is bad
#define ERR_USER_REJECTED -135
// user rejected executable file
#define ERR_DB_NOT_FOUND -136
// no rows found in lookup() or enumerate()
#define ERR_DB_NOT_UNIQUE -137
// not unique in lookup()
#define ERR_DB_CANT_CONNECT -138
#define ERR_GETS -139
// gets() or fgets()
#define ERR_SCANF -140
// scanf() or fscanf()
#define ERR_STRCHR -141
#define ERR_STRSTR -142
#define ERR_READDIR -143
#define ERR_SHMGET -144
#define ERR_SHMCTL -145
#define ERR_SHMAT -146
#define ERR_FORK -147
#define ERR_EXEC -148
#define ERR_NOT_EXITED -149
// a process didn't exit that was supposed to
#define ERR_NOT_IMPLEMENTED -150
// a system call not implemented on this platform
#define ERR_GETHOSTNAME -151
#define ERR_NETOPEN -152
#define ERR_SOCKET -153
#define ERR_FCNTL -154
#define ERR_AUTHENTICATOR -155
// scheduler request host ID doesn't match authenticator
#define ERR_SCHED_SHMEM -156
// sched shmem has bad contents
#define ERR_ASYNCSELECT -157
#define ERR_BAD_RESULT_STATE -158
#define ERR_DB_CANT_INIT -159
#define ERR_NOT_UNIQUE -160
// state files had redundant entries
#define ERR_NOT_FOUND -161
// inconsistent client state
#define ERR_NO_EXIT_STATUS -162
// exit_status not found in scheduler request
#define ERR_FILE_MISSING -163
#define ERR_SEMGET -165
#define ERR_SEMCTL -166
#define ERR_SEMOP -167
#define ERR_FTOK -168
#define ERR_SOCKS_UNKNOWN_FAILURE -169
#define ERR_SOCKS_REQUEST_FAILED -170
#define ERR_SOCKS_BAD_USER_PASS -171
#define ERR_SOCKS_UNKNOWN_SERVER_VERSION -172
#define ERR_SOCKS_UNSUPPORTED -173
#define ERR_SOCKS_CANT_REACH_HOST -174
#define ERR_SOCKS_CONN_REFUSED -175
#define ERR_TIMER_INIT -176
#define ERR_RSC_LIMIT_EXCEEDED -177
#define ERR_INVALID_PARAM -178
#define ERR_SIGNAL_OP -179
#define ERR_BIND -180
#define ERR_LISTEN -181
#define ERR_TIMEOUT -182
#define ERR_PROJECT_DOWN -183
#define ERR_HTTP_ERROR -184
#define ERR_RESULT_START -185
#define ERR_RESULT_DOWNLOAD -186
#define ERR_RESULT_UPLOAD -187
#define ERR_INVALID_URL -189
#define ERR_MAJOR_VERSION -190
#define ERR_NO_OPTION -191
#define ERR_MKDIR -192
#define ERR_INVALID_EVENT -193
#define ERR_ALREADY_RUNNING -194
#define ERR_NO_APP_VERSION -195
#define ERR_WU_USER_RULE -196
#define ERR_ABORTED_VIA_GUI -197
#define ERR_INSUFFICIENT_RESOURCE -198
#define ERR_RETRY -199
#define ERR_WRONG_SIZE -200
#define ERR_USER_PERMISSION -201
// e.g. user didn't allow network connection
#define ERR_SHMEM_NAME -202
#define ERR_NO_NETWORK_CONNECTION -203
#define ERR_IN_PROGRESS -204
#define ERR_BAD_EMAIL_ADDR -205
#define ERR_BAD_PASSWD -206
#define ERR_NONUNIQUE_EMAIL -207
#define ERR_ACCT_CREATION_DISABLED -208
#define ERR_ATTACH_FAIL_INIT -209
#define ERR_ATTACH_FAIL_DOWNLOAD -210
#define ERR_ATTACH_FAIL_PARSE -211
#define ERR_ATTACH_FAIL_BAD_KEY -212
#define ERR_ATTACH_FAIL_FILE_WRITE -213
#define ERR_ATTACH_FAIL_SERVER_ERROR -214
#define ERR_SIGNING_KEY -215
#define ERR_FFLUSH -216
#define ERR_FSYNC -217
#define ERR_TRUNCATE -218
#define ERR_WRONG_URL -219
#define ERR_DUP_NAME -220
#define ERR_ABORTED_BY_PROJECT -221
// PLEASE: add a text description of your error to
// the text description function boincerror() in util.C.