1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5    <meta http-equiv="Content-Style-Type" content="text/css" />
6    <link rel="stylesheet" href="../../css/manpage.css" type="text/css" />
7    <title>TaskResultCode</title>
8  </head>
9  <body>
10    <h1><CODE>nn::boss::TaskResultCode</CODE> Enumerated Type</h1>
11    <h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14enum TaskResultCode;
15</pre>
16    </div>
17    <h2>Value</h2>
18    <div class="section">
19      <table class="arguments">
20        <thead>
21          <tr>
22            <th>Value</th>
23            <td>Description</td>
24          </tr>
25        </thead>
26        <tr>
27          <th><CODE>TASK_SUCCESS</CODE></th>
28          <td>A task succeeded.</td>
29        </tr>
30        <tr>
31          <th><CODE>BOSS_ERROR_NOMEM</CODE></th>
32          <td>Failed to dynamically get memory.</td>
33        </tr>
34        <tr>
35          <th><CODE>GET_TASK_RESULT_ERROR</CODE></th>
36          <td>Could not get the task result.</td>
37        </tr>
38        <tr>
39          <th><CODE>TASK_NOT_EXIST</CODE></th>
40          <td>The specified task does not exist.</td>
41        </tr>
42        <tr>
43          <th><CODE>HTTP_ERROR_NOMEM</CODE></th>
44          <td>Failed to get memory dynamically during HTTP communication.</td>
45        </tr>
46        <tr>
47          <th><CODE>HTTP_ERROR_CREATE_EVENT</CODE></th>
48          <td>Failed to create an internal resource (event) during HTTP communication.</td>
49        </tr>
50        <tr>
51          <th><CODE>HTTP_ERROR_CREATE_MUTEX</CODE></th>
52          <td>Failed to create an internal resource (mutex) during HTTP communication.</td>
53        </tr>
54        <tr>
55          <th><CODE>HTTP_ERROR_CREATE_QUEUE</CODE></th>
56          <td>Failed to create an internal resource (queue) during HTTP communication.</td>
57        </tr>
58        <tr>
59          <th><CODE>HTTP_ERROR_CREATE_THREAD</CODE></th>
60          <td>Failed to create an internal resource (thread) during HTTP communication.</td>
61        </tr>
62        <tr>
63          <th><CODE>HTTP_ERROR_IPC_SESSION</CODE></th>
64          <td>Invalid IPC session.</td>
65        </tr>
66        <tr>
67          <th><CODE>HTTP_ERROR_CLIENT_PROCESS_MAX</CODE></th>
68          <td>The maximum number of simultaneous client processes are already in use.</td>
69        </tr>
70        <tr>
71          <th><CODE>HTTP_ERROR_IPC_SESSION_MAX</CODE></th>
72          <td>The maximum number of simultaneous IPC sessions are already connected.</td>
73        </tr>
74        <tr>
75          <th><CODE>HTTP_ERROR_MSGQ_SEND_LSN</CODE></th>
76          <td>Failed to send data to a listener thread's message queue.</td>
77        </tr>
78        <tr>
79          <th><CODE>HTTP_ERROR_MSGQ_RECV_LSN</CODE></th>
80          <td>Failed to receive data from a listener thread's message queue.</td>
81        </tr>
82        <tr>
83          <th><CODE>HTTP_ERROR_MSGQ_SEND_COMM</CODE></th>
84          <td>Failed to receive data from a communication thread's message queue.</td>
85        </tr>
86        <tr>
87          <th><CODE>HTTP_ERROR_CONN_NOMORE</CODE></th>
88          <td>Exceeded the maximum number of connection handles that can be registered.</td>
89        </tr>
90        <tr>
91          <th><CODE>HTTP_ERROR_CONN_STATUS</CODE></th>
92          <td>Invalid connection handle status.</td>
93        </tr>
94        <tr>
95          <th><CODE>HTTP_ERROR_CONN_ADD</CODE></th>
96          <td>Failed to register a connection handle.</td>
97        </tr>
98        <tr>
99          <th><CODE>HTTP_ERROR_CONN_HOST_MAX</CODE></th>
100          <td>Exceeded the maximum number of simultaneous connections to the same host.</td>
101        </tr>
102        <tr>
103          <th><CODE>HTTP_ERROR_INVALID_URL</CODE></th>
104          <td>Invalid URL.</td>
105        </tr>
106        <tr>
107          <th><CODE>HTTP_ERROR_RESPONSE_HEADER</CODE></th>
108          <td>Invalid HTTP header.</td>
109        </tr>
110        <tr>
111          <th><CODE>HTTP_ERROR_NO_NEWLINE</CODE></th>
112          <td>No newline in an HTTP header.</td>
113        </tr>
114        <tr>
115          <th><CODE>HTTP_ERROR_SSL</CODE></th>
116          <td>SSL authentication error.</td>
117        </tr>
118        <tr>
119          <th><CODE>HTTP_ERROR_CERT_EXIST</CODE></th>
120          <td>An SSL certificate has already been set. (You must delete this before registering it again.)</td>
121        </tr>
122        <tr>
123          <th><CODE>HTTP_ERROR_NO_CA_CERT_STORE</CODE></th>
124          <td>A CA certificate store has not been registered for SSL.</td>
125        </tr>
126        <tr>
127          <th><CODE>HTTP_ERROR_NO_CLIENT_CERT</CODE></th>
128          <td>A client certificate has not been registered for SSL.</td>
129        </tr>
130        <tr>
131          <th><CODE>HTTP_ERROR_CA_CERT_STORE_MAX</CODE></th>
132          <td>The maximum number of simultaneous CA certificate stores per SSL process have already been registered.</td>
133        </tr>
134        <tr>
135          <th><CODE>HTTP_ERROR_CLIENT_CERT_MAX</CODE></th>
136          <td>The maximum number of simultaneous client certificates per SSL process have already been registered.</td>
137        </tr>
138        <tr>
139          <th><CODE>HTTP_ERROR_FAIL_TO_CREATE_CERT_STORE</CODE></th>
140          <td>Failed to create an SSL certificate store.</td>
141        </tr>
142        <tr>
143          <th><CODE>HTTP_ERROR_FAIL_TO_CREATE_CLIENT_STORE</CODE></th>
144          <td>Failed to create an SSL client certificate.</td>
145        </tr>
146        <tr>
147          <th><CODE>HTTP_ERROR_DNS</CODE></th>
148          <td>DNS name resolution failure.</td>
149        </tr>
150        <tr>
151          <th><CODE>HTTP_ERROR_SEND</CODE></th>
152          <td>Failed to send socket data. (Upon being disconnected from infrastructure communication, for example.)</td>
153        </tr>
154        <tr>
155          <th><CODE>HTTP_ERROR_RECV</CODE></th>
156          <td>Failed to receive socket data. (Upon being disconnected from infrastructure communication, for example.)</td>
157        </tr>
158        <tr>
159          <th><CODE>HTTP_ERROR_CONNECT</CODE></th>
160          <td>Failed to make a socket connection. (When a server cannot be found, for example.)</td>
161        </tr>
162        <tr>
163          <th><CODE>HTTP_ERROR_GET_PROXY_SETTING</CODE></th>
164          <td>Failed to get proxy settings from the device information.</td>
165        </tr>
166        <tr>
167          <th><CODE>HTTP_ERROR_TIMEOUT</CODE></th>
168          <td>HTTP communication timeout.</td>
169        </tr>
170        <tr>
171          <th><CODE>HTTP_ERROR_401_UNAUTHORIZED</CODE></th>
172          <td>Received status code 401 Unauthorized.</td>
173        </tr>
174        <tr>
175          <th><CODE>HTTP_ERROR_403_FORBIDDEN</CODE></th>
176          <td>Received status code 403 Forbidden.</td>
177        </tr>
178        <tr>
179          <th><CODE>HTTP_ERROR_404_NOT_FOUND</CODE></th>
180          <td>Received status code 404 Not Found.</td>
181        </tr>
182        <tr>
183          <th><CODE>HTTP_ERROR_408_REQUEST_TIMEOUT</CODE></th>
184          <td>Received status code 408 Request Timeout.</td>
185        </tr>
186        <tr>
187          <th><CODE>HTTP_ERROR_416_REQUESTED_RANGE_NOT_SATISFABLE</CODE></th>
188          <td>Received status code 416 Requested Range Not Satisfiable.</td>
189        </tr>
190        <tr>
191          <th><CODE>HTTP_ERROR_500_INTERNAL_SERVER_ERROR</CODE></th>
192          <td>Received status code 500 Internal Server Error.</td>
193        </tr>
194        <tr>
195          <th><CODE>HTTP_ERROR_502_BAD_GATEWAY</CODE></th>
196          <td>Received status code 502 Bad Gateway.</td>
197        </tr>
198        <tr>
199          <th><CODE>HTTP_ERROR_503_SERVICE_UNAVAILABLE</CODE></th>
200          <td>Received status code 503 Service Unavailable.</td>
201        </tr>
202        <tr>
203          <th><CODE>HTTP_ERROR_504_GATEWAY_TIMEOUT</CODE></th>
204          <td>Received status code 504 Gateway Timeout.</td>
205        </tr>
206        <tr>
207          <th><CODE>HTTP_ERROR_505_VERSION_NOT_SUPPORTED</CODE></th>
208          <td>Received status code 505 Version Not Supported.</td>
209        </tr>
210        <tr>
211          <th><CODE>HTTP_ERROR_UNSUPPORTED_STATUS</CODE></th>
212          <td>Received a 1xx, 3xx, 4xx, or 5xx error other than the ones above during HTTP communication.</td>
213        </tr>
214        <tr>
215          <th><CODE>SSL_ERROR_FAILED</CODE></th>
216          <td>Error caused by SSL protocol failure. (such as when validation of a client certificate fails on the server side).</td>
217        </tr>
218        <tr>
219          <th><CODE>SSL_ERROR_WANT_READ</CODE></th>
220          <td>A <CODE>Read</CODE> function has not finished processing while an asynchronous socket is in use by the SSL module. (Please try again.)</td>
221        </tr>
222        <tr>
223          <th><CODE>SSL_ERROR_WANT_WRITE</CODE></th>
224          <td>A <CODE>Write</CODE> function has not finished processing while an asynchronous socket is in use by the SSL module. (Please try again.)</td>
225        </tr>
226        <tr>
227          <th><CODE>SSL_ERROR_SYSCALL</CODE></th>
228          <td>An unexpected error was returned by a system function used by the SSL module.</td>
229        </tr>
230        <tr>
231          <th><CODE>SSL_ERROR_ZERO_RETURN</CODE></th>
232          <td>A value of zero was returned at an unexpected point during socket read/write operations within the SSL module.</td>
233        </tr>
234        <tr>
235          <th><CODE>SSL_ERROR_WANT_CONNECT</CODE></th>
236          <td>A connection did not complete while asynchronous sockets were used in the SSL module. (Please try again.)</td>
237        </tr>
238        <tr>
239          <th><CODE>SSL_ERROR_SSLID</CODE></th>
240          <td>An internal SSL module error. (Invalid SSLID)</td>
241        </tr>
242        <tr>
243          <th><CODE>SSL_ERROR_VERIFY_CERT</CODE></th>
244          <td>Server authentication error. Failed to validate a server certificate.</td>
245        </tr>
246        <tr>
247          <th><CODE>SSL_ERROR_VERIFY_COMMON_NAME</CODE></th>
248          <td>Server authentication error. The server certificate's <CODE>CommonName</CODE> does not match the host name of the target communication server specified by the <CODE>AssignServer</CODE> function.</td>
249        </tr>
250        <tr>
251          <th><CODE>SSL_ERROR_VERIFY_ROOT_CA</CODE></th>
252          <td>Server authentication error. The server certificate's Root CA certificate does not match the certificate set by <CODE>Connection</CODE>.</td>
253        </tr>
254        <tr>
255          <th><CODE>SSL_ERROR_VERIFY_CHAIN</CODE></th>
256          <td>Server authentication error. The server certificate's certificate chain is invalid.</td>
257        </tr>
258        <tr>
259          <th><CODE>SSL_ERROR_VERIFY_DATE</CODE></th>
260          <td>Server authentication error. The server certificate has expired.</td>
261        </tr>
262        <tr>
263          <th><CODE>SSL_ERROR_GET_SERVER_CERT</CODE></th>
264          <td>Failed to save to the buffer for certificate data. (This occurs when the buffer is smaller than the certificate size given to the <CODE>DoHandshake</CODE> function with arguments.)</td>
265        </tr>
266        <tr>
267          <th><CODE>SSL_ERROR_VERIFY_REVOKED_CERT</CODE></th>
268          <td>Server authentication error. The server certificate was found to be registered on the revocation list.</td>
269        </tr>
270        <tr>
271          <th><CODE>SSL_ERROR_OUT_OF_MEMORY</CODE></th>
272          <td>The SSL module failed to get memory dynamically.</td>
273        </tr>
274        <tr>
275          <th><CODE>SSL_ERROR_SESSION</CODE></th>
276          <td>Invalid IPC session in the SSL module.</td>
277        </tr>
278        <tr>
279          <th><CODE>SSL_ERROR_FAIL_TO_CREATE_CERT_STROE</CODE></th>
280          <td>Failed to create a certificate store.</td>
281        </tr>
282        <tr>
283          <th><CODE>SSL_ERROR_FAIL_TO_CREATE_CRL_STORE</CODE></th>
284          <td>Failed to create a CRL store.</td>
285        </tr>
286        <tr>
287          <th><CODE>SSL_ERROR_FAIL_TO_CREATE_CLIENT_CERT</CODE></th>
288          <td>Failed to create a client certificate.</td>
289        </tr>
290        <tr>
291          <th><CODE>SSL_ERROR_CLIENT_PROCESS_MAX</CODE></th>
292          <td>The maximum number of simultaneous client processes are already in use.</td>
293        </tr>
294        <tr>
295          <th><CODE>SSL_ERROR_IPC_SESSION</CODE></th>
296          <td>The maximum number of simultaneous IPC sessions are already connected.</td>
297        </tr>
298        <tr>
299          <th><CODE>SSL_ERROR_INTERNAL_CERT</CODE></th>
300          <td>Failed to use a built-in certificate.</td>
301        </tr>
302        <tr>
303          <th><CODE>SSL_ERROR_INTERNAL_CRL</CODE></th>
304          <td>Failed to use a built-in CRL.</td>
305        </tr>
306        <tr>
307          <th><CODE>FS_ERROR_INVALID_POSITION_BASE</CODE></th>
308          <td>A filesystem-related error occurred.</td>
309        </tr>
310        <tr>
311          <th><CODE>FS_ERROR_ARCHIVE_NOT_FOUND</CODE></th>
312          <td>A filesystem-related error occurred.</td>
313        </tr>
314        <tr>
315          <th><CODE>FS_ERROR_FAILED_OPEN_FILE</CODE></th>
316          <td>A filesystem-related error occurred.</td>
317        </tr>
318        <tr>
319          <th><CODE>FS_ERROR_UNSUPPORTED_OPERATION</CODE></th>
320          <td>A filesystem-related error occurred.</td>
321        </tr>
322        <tr>
323          <th><CODE>FS_ERROR_INVALID_PATH_FORMAT</CODE></th>
324          <td>A filesystem-related error occurred.</td>
325        </tr>
326        <tr>
327          <th><CODE>FS_ERROR_ACCESS_DENIED</CODE></th>
328          <td>A filesystem-related error occurred.</td>
329        </tr>
330        <tr>
331          <th><CODE>FS_ERROR_LIBRARY_NOT_INITIALIZED</CODE></th>
332          <td>A filesystem-related error occurred.</td>
333        </tr>
334        <tr>
335          <th><CODE>FS_ERROR_INVALID_POSITION</CODE></th>
336          <td>A filesystem-related error occurred.</td>
337        </tr>
338        <tr>
339          <th><CODE>FS_ERROR_TOO_LONG_PATH</CODE></th>
340          <td>A filesystem-related error occurred.</td>
341        </tr>
342        <tr>
343          <th><CODE>FS_ERROR_NOT_DEVELOPMENT_ID</CODE></th>
344          <td>A filesystem-related error occurred.</td>
345        </tr>
346        <tr>
347          <th><CODE>FS_ERROR_HASH_MISMATCH</CODE></th>
348          <td>A filesystem-related error occurred.</td>
349        </tr>
350        <tr>
351          <th><CODE>FS_ERROR_NO_SUCH_PROCESS_REGISTERED</CODE></th>
352          <td>A filesystem-related error occurred.</td>
353        </tr>
354        <tr>
355          <th><CODE>FS_ERROR_INVALID_CXI_FORMAT</CODE></th>
356          <td>A filesystem-related error occurred.</td>
357        </tr>
358        <tr>
359          <th><CODE>FS_ERROR_UNSUPPORTED_ALIGNMENT</CODE></th>
360          <td>A filesystem-related error occurred.</td>
361        </tr>
362        <tr>
363          <th><CODE>FS_ERROR_INVALID_HANDLE</CODE></th>
364          <td>A filesystem-related error occurred.</td>
365        </tr>
366        <tr>
367          <th><CODE>FS_ERROR_NOT_FOUND</CODE></th>
368          <td>A filesystem-related error occurred.</td>
369        </tr>
370        <tr>
371          <th><CODE>NSA_ERROR_STORAGE_INSUFFICIENCY</CODE></th>
372          <td>Insufficient NSA storage region.</td>
373        </tr>
374        <tr>
375          <th><CODE>NSA_ERROR_NUMBER_OF_NSD_MAX</CODE></th>
376          <td>The maximum number of NSD files in the NSA was exceeded.</td>
377        </tr>
378        <tr>
379          <th><CODE>NSA_ERROR_VERIFY_HASH</CODE></th>
380          <td>An error has been detected in the NSA INFO buffer.</td>
381        </tr>
382        <tr>
383          <th><CODE>NSA_ERROR_VERIFY_SIGNATURE</CODE></th>
384          <td>An error has been detected in the NSA INFO signature.</td>
385        </tr>
386        <tr>
387          <th><CODE>NSA_NSD_ERROR_VERIFY_HASH</CODE></th>
388          <td>An error has been detected in the NSD HEADER buffer.</td>
389        </tr>
390        <tr>
391          <th><CODE>NSA_NSD_ERROR_VERIFY_SIGNATURE</CODE></th>
392          <td>An error has been detected in the NSD HEADER signature.</td>
393        </tr>
394        <tr>
395          <th><CODE>NSA_NSD_ERROR_INVALID_FORMAT</CODE></th>
396          <td>An error has been detected in the NSD format.</td>
397        </tr>
398        <tr>
399          <th><CODE>NSA_ERROR_INVALID_FORMAT</CODE></th>
400          <td>An error has been detected in the NSA format.</td>
401        </tr>
402        <tr>
403          <th><CODE>SEVERE_ERROR</CODE></th>
404          <td>
405        </td>
406        </tr>
407        <tr>
408          <th><CODE>UNKNOWN_ERROR</CODE></th>
409          <td>An unknown error has been detected.</td>
410        </tr>
411        <tr>
412          <th><CODE>ERROR_MAX_VALUE</CODE></th>
413          <td>If none of the errors above have been detected, the sum of this value and a value from the module's enumerated type (<CODE>nn::Result::Module</CODE>) is returned.</td>
414        </tr>
415      </table> </div>
416    <h2>Description</h2>
417    <div class="section">
418      <p>A task's exit state. You can use the <CODE>TaskGetResult</CODE> function to get these values after a task exits.</p><!-- write here --></div>
419    <h2>Revision History</h2>
420    <div class="section">
421      <dl class="history">
422        <dt>2010/11/10</dt>
423        <dd>Initial version.<br />
424        </dd>
425      </dl>
426    </div>
427  <hr><p>CONFIDENTIAL</p></body>
428</html>