1 /*---------------------------------------------------------------------------*
2 
3 Copyright (C) Nintendo.  All rights reserved.
4 
5 These coded instructions, statements, and computer programs contain
6 proprietary information of Nintendo of America Inc. and/or Nintendo
7 Company Ltd., and are protected by Federal copyright law.  They may
8 not be disclosed to third parties or copied or duplicated in any form,
9 in whole or in part, without the prior written consent of Nintendo.
10 
11  *---------------------------------------------------------------------------*/
12 
13 //
14 // Do not edit this file.
15 // This file is automatically generated.
16 //
17 
18 #ifndef NN_EC_RESULT_H_
19 #define NN_EC_RESULT_H_
20 
21 #include <nn/Result.h>
22 #include <nn/Modules.h>
23 
24 
25 #ifdef __cplusplus
26 
27 namespace nn {
28 namespace ec {
29 
30 //! @addtogroup  nn_ec_result
31 //! @{
32 
33 
34 /*!
35 @class  nn::ec::ResultSystemError
36 @brief  System error.
37 
38 Handling this <tt>Result</tt> object catches all of the following <tt>Result</tt> objects.
39 
40 @li  @ref nn::ec::ResultInvalidCountry
41 @li  @ref nn::ec::ResultInvalidLanguage
42 @li  @ref nn::ec::ResultInvalidMeta
43 @li  @ref nn::ec::ResultInternalError
44 @li  @ref nn::ec::ResultInternalErrorSysapp
45 
46 
47 */
48 NN_DEFINE_RESULT_CONST_RANGE(
49     ResultSystemError,
50     nn::Result::LEVEL_FATAL, nn::RESULT_MODULE_NN_EC, 0, 0, 12800
51 );
52 
53 /*!
54 @class  nn::ec::ResultInvalidCountry
55 @brief  Cannot get the console's country code setting.
56 
57 This result is subsumed by the following results and can be caught by handling any of them.
58 
59 @li  @ref nn::ec::ResultSystemError
60 
61 
62 */
63 NN_DEFINE_RESULT_CONST_RANGE(
64     ResultInvalidCountry,
65     nn::Result::LEVEL_FATAL, nn::RESULT_MODULE_NN_EC, 128, 128, 256
66 );
67 
68 /*!
69 @class  nn::ec::ResultInvalidLanguage
70 @brief  Cannot get the console's language setting.
71 
72 This result is subsumed by the following results and can be caught by handling any of them.
73 
74 @li  @ref nn::ec::ResultSystemError
75 
76 
77 */
78 NN_DEFINE_RESULT_CONST_RANGE(
79     ResultInvalidLanguage,
80     nn::Result::LEVEL_FATAL, nn::RESULT_MODULE_NN_EC, 256, 256, 384
81 );
82 
83 /*!
84 @class  nn::ec::ResultInvalidMeta
85 @brief  Cannot get the application's metadata.
86 
87 This result is subsumed by the following results and can be caught by handling any of them.
88 
89 @li  @ref nn::ec::ResultSystemError
90 
91 
92 */
93 NN_DEFINE_RESULT_CONST_RANGE(
94     ResultInvalidMeta,
95     nn::Result::LEVEL_FATAL, nn::RESULT_MODULE_NN_EC, 384, 384, 512
96 );
97 
98 /*!
99 @class  nn::ec::ResultInternalError
100 @brief  Internal error. If this error occurs multiple times, please report it.
101 
102 This result is subsumed by the following results and can be caught by handling any of them.
103 
104 @li  @ref nn::ec::ResultSystemError
105 
106 
107 Handling this <tt>Result</tt> object catches all of the following <tt>Result</tt> objects.
108 
109 @li  @ref nn::ec::ResultInternalErrorSysapp
110 
111 
112 */
113 NN_DEFINE_RESULT_CONST_RANGE(
114     ResultInternalError,
115     nn::Result::LEVEL_FATAL, nn::RESULT_MODULE_NN_EC, 6400, 6400, 12800
116 );
117 
118 /*!
119 @class  nn::ec::ResultInternalErrorSysapp
120 @brief  The SYSAPP library API function call failed.
121 
122 This result is subsumed by the following results and can be caught by handling any of them.
123 
124 @li  @ref nn::ec::ResultSystemError
125 @li  @ref nn::ec::ResultInternalError
126 
127 
128 */
129 NN_DEFINE_RESULT_CONST_RANGE(
130     ResultInternalErrorSysapp,
131     nn::Result::LEVEL_FATAL, nn::RESULT_MODULE_NN_EC, 6528, 6528, 6656
132 );
133 
134 /*!
135 @class  nn::ec::ResultProgrammingError
136 @brief  Programming error. Correct your application so that this error does not occur.
137 
138 Handling this <tt>Result</tt> object catches all of the following <tt>Result</tt> objects.
139 
140 @li  @ref nn::ec::ResultNotInitialized
141 @li  @ref nn::ec::ResultNotLoggedIn
142 @li  @ref nn::ec::ResultNotInForeground
143 @li  @ref nn::ec::ResultAlreadyInitialized
144 @li  @ref nn::ec::ResultInvalidArgument
145 @li  @ref nn::ec::ResultInvalidModule
146 @li  @ref nn::ec::ResultInvalidSession
147 @li  @ref nn::ec::ResultInvalidData
148 @li  @ref nn::ec::ResultOutOfMemory
149 
150 
151 */
152 NN_DEFINE_RESULT_CONST_RANGE(
153     ResultProgrammingError,
154     nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_EC, 12800, 12800, 25600
155 );
156 
157 /*!
158 @class  nn::ec::ResultNotInitialized
159 @brief  Indicates that the library has not been initialized.
160 
161 This result is subsumed by the following results and can be caught by handling any of them.
162 
163 @li  @ref nn::ec::ResultProgrammingError
164 
165 
166 */
167 NN_DEFINE_RESULT_CONST_RANGE(
168     ResultNotInitialized,
169     nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_EC, 12928, 12928, 13056
170 );
171 
172 /*!
173 @class  nn::ec::ResultNotLoggedIn
174 @brief  Not logged in to the shop server.
175 
176 This result is subsumed by the following results and can be caught by handling any of them.
177 
178 @li  @ref nn::ec::ResultProgrammingError
179 
180 
181 */
182 NN_DEFINE_RESULT_CONST_RANGE(
183     ResultNotLoggedIn,
184     nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_EC, 13056, 13056, 13184
185 );
186 
187 /*!
188 @class  nn::ec::ResultNotInForeground
189 @brief  The EC applet cannot run because the application is not in the foreground.
190 
191 This result is subsumed by the following results and can be caught by handling any of them.
192 
193 @li  @ref nn::ec::ResultProgrammingError
194 
195 
196 */
197 NN_DEFINE_RESULT_CONST_RANGE(
198     ResultNotInForeground,
199     nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_EC, 13184, 13184, 13312
200 );
201 
202 /*!
203 @class  nn::ec::ResultAlreadyInitialized
204 @brief  Indicates that the library is already initialized.
205 
206 This result is subsumed by the following results and can be caught by handling any of them.
207 
208 @li  @ref nn::ec::ResultProgrammingError
209 
210 
211 */
212 NN_DEFINE_RESULT_CONST_RANGE(
213     ResultAlreadyInitialized,
214     nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_EC, 14208, 14208, 14336
215 );
216 
217 /*!
218 @class  nn::ec::ResultInvalidArgument
219 @brief  Indicates that an argument is invalid.
220 
221 This result is subsumed by the following results and can be caught by handling any of them.
222 
223 @li  @ref nn::ec::ResultProgrammingError
224 
225 
226 */
227 NN_DEFINE_RESULT_CONST_RANGE(
228     ResultInvalidArgument,
229     nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_EC, 15488, 15488, 15616
230 );
231 
232 /*!
233 @class  nn::ec::ResultInvalidModule
234 @brief  The result passed was for a module not supported in <tt>@ref GetErrorCode</tt>.
235 
236 This result is subsumed by the following results and can be caught by handling any of them.
237 
238 @li  @ref nn::ec::ResultProgrammingError
239 
240 
241 */
242 NN_DEFINE_RESULT_CONST_RANGE(
243     ResultInvalidModule,
244     nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_EC, 15616, 15616, 15744
245 );
246 
247 /*!
248 @class  nn::ec::ResultInvalidSession
249 @brief  The session is invalid.
250 
251 This result is subsumed by the following results and can be caught by handling any of them.
252 
253 @li  @ref nn::ec::ResultProgrammingError
254 
255 
256 */
257 NN_DEFINE_RESULT_CONST_RANGE(
258     ResultInvalidSession,
259     nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_EC, 15744, 15744, 15872
260 );
261 
262 /*!
263 @class  nn::ec::ResultInvalidData
264 @brief  The data is invalid.
265 
266 This result is subsumed by the following results and can be caught by handling any of them.
267 
268 @li  @ref nn::ec::ResultProgrammingError
269 
270 
271 */
272 NN_DEFINE_RESULT_CONST_RANGE(
273     ResultInvalidData,
274     nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_EC, 15872, 15872, 16000
275 );
276 
277 /*!
278 @class  nn::ec::ResultOutOfMemory
279 @brief  Insufficient memory.
280 
281 This result is subsumed by the following results and can be caught by handling any of them.
282 
283 @li  @ref nn::ec::ResultProgrammingError
284 
285 
286 */
287 NN_DEFINE_RESULT_CONST_RANGE(
288     ResultOutOfMemory,
289     nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_EC, 16768, 16768, 16896
290 );
291 
292 /*!
293 @class  nn::ec::ResultLibraryError
294 @brief  Library error. Handle the error appropriately.
295 
296 Handling this <tt>Result</tt> object catches all of the following <tt>Result</tt> objects.
297 
298 @li  @ref nn::ec::ResultNotFound
299 @li  @ref nn::ec::ResultNotConnected
300 @li  @ref nn::ec::ResultCanceled
301 @li  @ref nn::ec::ResultExcluded
302 @li  @ref nn::ec::ResultEshopNotInitialized
303 @li  @ref nn::ec::ResultNeedsNetworkUpdate
304 @li  @ref nn::ec::ResultNotInService
305 @li  @ref nn::ec::ResultWrongDownloadCode
306 @li  @ref nn::ec::ResultItemError
307 @li  @ref nn::ec::ResultItemUniqueIdMismatch
308 @li  @ref nn::ec::ResultItemNotPurchased
309 @li  @ref nn::ec::ResultItemAlreadyPurchased
310 @li  @ref nn::ec::ResultItemPartiallyPurchased
311 @li  @ref nn::ec::ResultItemUnreleased
312 @li  @ref nn::ec::ResultItemNotSold
313 @li  @ref nn::ec::ResultItemAlreadyInstalled
314 @li  @ref nn::ec::ResultItemNotRedeemable
315 @li  @ref nn::ec::ResultShoppingCartError
316 @li  @ref nn::ec::ResultShoppingCartFull
317 @li  @ref nn::ec::ResultShoppingCartAlreadyAdded
318 @li  @ref nn::ec::ResultShoppingCartPartiallyAdded
319 @li  @ref nn::ec::ResultDownloadCartError
320 @li  @ref nn::ec::ResultDownloadCartFull
321 @li  @ref nn::ec::ResultDownloadCartAlreadyAdded
322 
323 
324 */
325 NN_DEFINE_RESULT_CONST_RANGE(
326     ResultLibraryError,
327     nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_EC, 25600, 25600, 38400
328 );
329 
330 /*!
331 @class  nn::ec::ResultNotFound
332 @brief  There is no data.
333 
334 This result is subsumed by the following results and can be caught by handling any of them.
335 
336 @li  @ref nn::ec::ResultLibraryError
337 
338 
339 */
340 NN_DEFINE_RESULT_CONST_RANGE(
341     ResultNotFound,
342     nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_EC, 25728, 25728, 25856
343 );
344 
345 /*!
346 @class  nn::ec::ResultNotConnected
347 @brief  Indicates that the system is not connected to the Internet. Connect to the network using the AC library.
348 
349 This result is subsumed by the following results and can be caught by handling any of them.
350 
351 @li  @ref nn::ec::ResultLibraryError
352 
353 
354 */
355 NN_DEFINE_RESULT_CONST_RANGE(
356     ResultNotConnected,
357     nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_EC, 25856, 25856, 25984
358 );
359 
360 /*!
361 @class  nn::ec::ResultCanceled
362 @brief  Specifies the communication process was canceled.
363 
364 This result is subsumed by the following results and can be caught by handling any of them.
365 
366 @li  @ref nn::ec::ResultLibraryError
367 
368 
369 */
370 NN_DEFINE_RESULT_CONST_RANGE(
371     ResultCanceled,
372     nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_EC, 27008, 27008, 27136
373 );
374 
375 /*!
376 @class  nn::ec::ResultExcluded
377 @brief  Indicates that the process was not executed because the EC applet was running or communication was taking place.
378 
379 This result is subsumed by the following results and can be caught by handling any of them.
380 
381 @li  @ref nn::ec::ResultLibraryError
382 
383 
384 */
385 NN_DEFINE_RESULT_CONST_RANGE(
386     ResultExcluded,
387     nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_EC, 27136, 27136, 27264
388 );
389 
390 /*!
391 @class  nn::ec::ResultEshopNotInitialized
392 @brief  Indicates that the Nintendo eShop initialization sequence has not completed.
393 
394 This result is subsumed by the following results and can be caught by handling any of them.
395 
396 @li  @ref nn::ec::ResultLibraryError
397 
398 
399 */
400 NN_DEFINE_RESULT_CONST_RANGE(
401     ResultEshopNotInitialized,
402     nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_EC, 28288, 28288, 28416
403 );
404 
405 /*!
406 @class  nn::ec::ResultNeedsNetworkUpdate
407 @brief  A system update is required.
408 
409 This result is subsumed by the following results and can be caught by handling any of them.
410 
411 @li  @ref nn::ec::ResultLibraryError
412 
413 
414 */
415 NN_DEFINE_RESULT_CONST_RANGE(
416     ResultNeedsNetworkUpdate,
417     nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_EC, 28416, 28416, 28544
418 );
419 
420 /*!
421 @class  nn::ec::ResultNotInService
422 @brief  Indicates that the service is not available.
423 
424 This result is subsumed by the following results and can be caught by handling any of them.
425 
426 @li  @ref nn::ec::ResultLibraryError
427 
428 
429 */
430 NN_DEFINE_RESULT_CONST_RANGE(
431     ResultNotInService,
432     nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_EC, 28544, 28544, 28672
433 );
434 
435 /*!
436 @class  nn::ec::ResultWrongDownloadCode
437 @brief  Not a valid download code.
438 
439 This result is subsumed by the following results and can be caught by handling any of them.
440 
441 @li  @ref nn::ec::ResultLibraryError
442 
443 
444 */
445 NN_DEFINE_RESULT_CONST_RANGE(
446     ResultWrongDownloadCode,
447     nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_EC, 30720, 30720, 32000
448 );
449 
450 /*!
451 @class  nn::ec::ResultItemError
452 @brief  An error that can occur when determining whether an item is purchasable, redeemable, or downloadable.
453 
454 This result is subsumed by the following results and can be caught by handling any of them.
455 
456 @li  @ref nn::ec::ResultLibraryError
457 
458 
459 Handling this <tt>Result</tt> object catches all of the following <tt>Result</tt> objects.
460 
461 @li  @ref nn::ec::ResultItemUniqueIdMismatch
462 @li  @ref nn::ec::ResultItemNotPurchased
463 @li  @ref nn::ec::ResultItemAlreadyPurchased
464 @li  @ref nn::ec::ResultItemPartiallyPurchased
465 @li  @ref nn::ec::ResultItemUnreleased
466 @li  @ref nn::ec::ResultItemNotSold
467 @li  @ref nn::ec::ResultItemAlreadyInstalled
468 @li  @ref nn::ec::ResultItemNotRedeemable
469 
470 
471 */
472 NN_DEFINE_RESULT_CONST_RANGE(
473     ResultItemError,
474     nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_EC, 32000, 32000, 34560
475 );
476 
477 /*!
478 @class  nn::ec::ResultItemUniqueIdMismatch
479 @brief  The unique IDs for the application and item are different.
480 
481 This result is subsumed by the following results and can be caught by handling any of them.
482 
483 @li  @ref nn::ec::ResultLibraryError
484 @li  @ref nn::ec::ResultItemError
485 
486 
487 */
488 NN_DEFINE_RESULT_CONST_RANGE(
489     ResultItemUniqueIdMismatch,
490     nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_EC, 32128, 32128, 32256
491 );
492 
493 /*!
494 @class  nn::ec::ResultItemNotPurchased
495 @brief  The item has not been purchased.
496 
497 This result is subsumed by the following results and can be caught by handling any of them.
498 
499 @li  @ref nn::ec::ResultLibraryError
500 @li  @ref nn::ec::ResultItemError
501 
502 
503 */
504 NN_DEFINE_RESULT_CONST_RANGE(
505     ResultItemNotPurchased,
506     nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_EC, 32256, 32256, 32384
507 );
508 
509 /*!
510 @class  nn::ec::ResultItemAlreadyPurchased
511 @brief  The item has already been purchased.
512 
513 This result is subsumed by the following results and can be caught by handling any of them.
514 
515 @li  @ref nn::ec::ResultLibraryError
516 @li  @ref nn::ec::ResultItemError
517 
518 
519 */
520 NN_DEFINE_RESULT_CONST_RANGE(
521     ResultItemAlreadyPurchased,
522     nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_EC, 32384, 32384, 32512
523 );
524 
525 /*!
526 @class  nn::ec::ResultItemPartiallyPurchased
527 @brief  Indicates that some of the items in a multiple-content item have already been purchased.
528 
529 This result is subsumed by the following results and can be caught by handling any of them.
530 
531 @li  @ref nn::ec::ResultLibraryError
532 @li  @ref nn::ec::ResultItemError
533 
534 
535 */
536 NN_DEFINE_RESULT_CONST_RANGE(
537     ResultItemPartiallyPurchased,
538     nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_EC, 32512, 32512, 32640
539 );
540 
541 /*!
542 @class  nn::ec::ResultItemUnreleased
543 @brief  The item has not been released yet.
544 
545 This result is subsumed by the following results and can be caught by handling any of them.
546 
547 @li  @ref nn::ec::ResultLibraryError
548 @li  @ref nn::ec::ResultItemError
549 
550 
551 */
552 NN_DEFINE_RESULT_CONST_RANGE(
553     ResultItemUnreleased,
554     nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_EC, 33024, 33024, 33152
555 );
556 
557 /*!
558 @class  nn::ec::ResultItemNotSold
559 @brief  The item is not being sold.
560 
561 This result is subsumed by the following results and can be caught by handling any of them.
562 
563 @li  @ref nn::ec::ResultLibraryError
564 @li  @ref nn::ec::ResultItemError
565 
566 
567 */
568 NN_DEFINE_RESULT_CONST_RANGE(
569     ResultItemNotSold,
570     nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_EC, 33152, 33152, 33280
571 );
572 
573 /*!
574 @class  nn::ec::ResultItemAlreadyInstalled
575 @brief  The item is already installed.
576 
577 This result is subsumed by the following results and can be caught by handling any of them.
578 
579 @li  @ref nn::ec::ResultLibraryError
580 @li  @ref nn::ec::ResultItemError
581 
582 
583 */
584 NN_DEFINE_RESULT_CONST_RANGE(
585     ResultItemAlreadyInstalled,
586     nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_EC, 33280, 33280, 33408
587 );
588 
589 /*!
590 @class  nn::ec::ResultItemNotRedeemable
591 @brief  This is not an item obtained by specifying a download code.
592 
593 This result is subsumed by the following results and can be caught by handling any of them.
594 
595 @li  @ref nn::ec::ResultLibraryError
596 @li  @ref nn::ec::ResultItemError
597 
598 
599 */
600 NN_DEFINE_RESULT_CONST_RANGE(
601     ResultItemNotRedeemable,
602     nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_EC, 33408, 33408, 33536
603 );
604 
605 /*!
606 @class  nn::ec::ResultShoppingCartError
607 @brief  Indicates an error that occurs in <tt>@ref ShoppingCart::CheckItem</tt>.
608 
609 This result is subsumed by the following results and can be caught by handling any of them.
610 
611 @li  @ref nn::ec::ResultLibraryError
612 
613 
614 Handling this <tt>Result</tt> object catches all of the following <tt>Result</tt> objects.
615 
616 @li  @ref nn::ec::ResultShoppingCartFull
617 @li  @ref nn::ec::ResultShoppingCartAlreadyAdded
618 @li  @ref nn::ec::ResultShoppingCartPartiallyAdded
619 
620 
621 */
622 NN_DEFINE_RESULT_CONST_RANGE(
623     ResultShoppingCartError,
624     nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_EC, 34560, 34560, 35840
625 );
626 
627 /*!
628 @class  nn::ec::ResultShoppingCartFull
629 @brief  The upper limit on the number of items has been reached.
630 
631 This result is subsumed by the following results and can be caught by handling any of them.
632 
633 @li  @ref nn::ec::ResultLibraryError
634 @li  @ref nn::ec::ResultShoppingCartError
635 
636 
637 */
638 NN_DEFINE_RESULT_CONST_RANGE(
639     ResultShoppingCartFull,
640     nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_EC, 34688, 34688, 34816
641 );
642 
643 /*!
644 @class  nn::ec::ResultShoppingCartAlreadyAdded
645 @brief  The item has already been added to the shopping cart.
646 
647 This result is subsumed by the following results and can be caught by handling any of them.
648 
649 @li  @ref nn::ec::ResultLibraryError
650 @li  @ref nn::ec::ResultShoppingCartError
651 
652 
653 */
654 NN_DEFINE_RESULT_CONST_RANGE(
655     ResultShoppingCartAlreadyAdded,
656     nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_EC, 34816, 34816, 34944
657 );
658 
659 /*!
660 @class  nn::ec::ResultShoppingCartPartiallyAdded
661 @brief  Indicates that some of the items in a multiple-content item have already been added to the shopping cart.
662 
663 This result is subsumed by the following results and can be caught by handling any of them.
664 
665 @li  @ref nn::ec::ResultLibraryError
666 @li  @ref nn::ec::ResultShoppingCartError
667 
668 
669 */
670 NN_DEFINE_RESULT_CONST_RANGE(
671     ResultShoppingCartPartiallyAdded,
672     nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_EC, 34944, 34944, 35072
673 );
674 
675 /*!
676 @class  nn::ec::ResultDownloadCartError
677 @brief  Indicates an error that occurs in <tt>@ref DownloadCart::CheckItem</tt>.
678 
679 This result is subsumed by the following results and can be caught by handling any of them.
680 
681 @li  @ref nn::ec::ResultLibraryError
682 
683 
684 Handling this <tt>Result</tt> object catches all of the following <tt>Result</tt> objects.
685 
686 @li  @ref nn::ec::ResultDownloadCartFull
687 @li  @ref nn::ec::ResultDownloadCartAlreadyAdded
688 
689 
690 */
691 NN_DEFINE_RESULT_CONST_RANGE(
692     ResultDownloadCartError,
693     nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_EC, 35840, 35840, 37120
694 );
695 
696 /*!
697 @class  nn::ec::ResultDownloadCartFull
698 @brief  The upper limit on the number of items has been reached.
699 
700 This result is subsumed by the following results and can be caught by handling any of them.
701 
702 @li  @ref nn::ec::ResultLibraryError
703 @li  @ref nn::ec::ResultDownloadCartError
704 
705 
706 */
707 NN_DEFINE_RESULT_CONST_RANGE(
708     ResultDownloadCartFull,
709     nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_EC, 35968, 35968, 36096
710 );
711 
712 /*!
713 @class  nn::ec::ResultDownloadCartAlreadyAdded
714 @brief  Indicates that the item has already been added to the download cart.
715 
716 This result is subsumed by the following results and can be caught by handling any of them.
717 
718 @li  @ref nn::ec::ResultLibraryError
719 @li  @ref nn::ec::ResultDownloadCartError
720 
721 
722 */
723 NN_DEFINE_RESULT_CONST_RANGE(
724     ResultDownloadCartAlreadyAdded,
725     nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_EC, 36096, 36096, 36224
726 );
727 
728 /*!
729 @class  nn::ec::ResultResponseError
730 @brief  A response error occurred.
731 
732 Handling this <tt>Result</tt> object catches all of the following <tt>Result</tt> objects.
733 
734 @li  @ref nn::ec::ResultInvalidResponse
735 @li  @ref nn::ec::ResultUnderMaintenance
736 @li  @ref nn::ec::ResultServiceClosed
737 @li  @ref nn::ec::ResultUnexpectedResponse
738 
739 
740 */
741 NN_DEFINE_RESULT_CONST_RANGE(
742     ResultResponseError,
743     nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_EC, 38400, 38400, 51200
744 );
745 
746 /*!
747 @class  nn::ec::ResultInvalidResponse
748 @brief  Indicates an invalid response.
749 
750 This result is subsumed by the following results and can be caught by handling any of them.
751 
752 @li  @ref nn::ec::ResultResponseError
753 
754 
755 */
756 NN_DEFINE_RESULT_CONST_RANGE(
757     ResultInvalidResponse,
758     nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_EC, 38656, 38656, 38784
759 );
760 
761 /*!
762 @class  nn::ec::ResultUnderMaintenance
763 @brief  Indicates that maintenance is underway.
764 
765 This result is subsumed by the following results and can be caught by handling any of them.
766 
767 @li  @ref nn::ec::ResultResponseError
768 
769 
770 */
771 NN_DEFINE_RESULT_CONST_RANGE(
772     ResultUnderMaintenance,
773     nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_EC, 38784, 38784, 38912
774 );
775 
776 /*!
777 @class  nn::ec::ResultServiceClosed
778 @brief  The service has been closed.
779 
780 This result is subsumed by the following results and can be caught by handling any of them.
781 
782 @li  @ref nn::ec::ResultResponseError
783 
784 
785 */
786 NN_DEFINE_RESULT_CONST_RANGE(
787     ResultServiceClosed,
788     nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_EC, 38912, 38912, 39040
789 );
790 
791 /*!
792 @class  nn::ec::ResultUnexpectedResponse
793 @brief  Indicates an unexpected response.
794 
795 This result is subsumed by the following results and can be caught by handling any of them.
796 
797 @li  @ref nn::ec::ResultResponseError
798 
799 
800 */
801 NN_DEFINE_RESULT_CONST_RANGE(
802     ResultUnexpectedResponse,
803     nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_EC, 51072, 51072, 51200
804 );
805 
806 /*!
807 @class  nn::ec::ResultCurlError
808 @brief  Indicates that a communication error occurred.
809 
810 */
811 NN_DEFINE_RESULT_CONST_RANGE(
812     ResultCurlError,
813     nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_EC, 128000, 128000, 256000
814 );
815 
816 /*!
817 @class  nn::ec::ResultServerError
818 @brief  Indicates a server error. Get the error message using <tt>@ref GetLastServerErrorMessage</tt>.
819 
820 */
821 NN_DEFINE_RESULT_CONST_RANGE(
822     ResultServerError,
823     nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_EC, 256000, 256000, 384000
824 );
825 
826 /*!
827 @class  nn::ec::ResultNetworkUpdateCheckError
828 @brief  Indicates an error when checking for system updates.
829 
830 */
831 NN_DEFINE_RESULT_CONST_RANGE(
832     ResultNetworkUpdateCheckError,
833     nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_EC, 384000, 384000, 396800
834 );
835 
836 
837 
838 
839 //! @}
840 
841 } // namespace ec
842 } // namespace nn
843 
844 #endif // __cplusplus
845 
846 #endif // NN_EC_RESULT_H_
847