1 /*---------------------------------------------------------------------------* 2 3 Copyright (C) 2012 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 auto-generated. 16 // 17 18 #ifndef NN_BOSS_BOSS_RESULT_H_ 19 #define NN_BOSS_BOSS_RESULT_H_ 20 21 #include <nn/Result.h> 22 #include <nn/Modules.h> 23 24 25 #ifdef __cplusplus 26 27 namespace nn { 28 namespace boss { 29 30 //! @addtogroup nn_boss_result 31 //! @{ 32 33 34 /*! 35 @class nn::boss::ResultSuccess 36 @brief Indicates success. 37 38 */ 39 NN_DEFINE_RESULT_CONST_RANGE( 40 ResultSuccess, 41 nn::Result::LEVEL_SUCCESS, nn::RESULT_MODULE_NN_BOSS, 128, 128, 12800 42 ); 43 44 /*! 45 @class nn::boss::ResultNotInitialized 46 @brief Represents a generic "not initialized" result. 47 48 Handling this <tt>Result</tt> object catches all of the following <tt>Result</tt> objects. 49 50 @li <tt>@ref nn::boss::ResultLibraryNotInitialized</tt> 51 52 53 */ 54 NN_DEFINE_RESULT_CONST_RANGE( 55 ResultNotInitialized, 56 nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_BOSS, 12800, 12800, 14080 57 ); 58 59 /*! 60 @class nn::boss::ResultLibraryNotInitialized 61 @brief Indicates that the library has not been initialized. 62 63 This result is subsumed by the following results and can be caught by handling any of them. 64 65 @li <tt>@ref nn::boss::ResultNotInitialized</tt> 66 67 68 */ 69 NN_DEFINE_RESULT_CONST_RANGE( 70 ResultLibraryNotInitialized, 71 nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_BOSS, 12928, 12928, 13056 72 ); 73 74 /*! 75 @class nn::boss::ResultInvalid 76 @brief Indicates invalid content. 77 78 Handling this <tt>Result</tt> object catches all of the following <tt>Result</tt> objects. 79 80 @li <tt>@ref nn::boss::ResultInvalidParameter</tt> 81 @li <tt>@ref nn::boss::ResultInvalidFormat</tt> 82 @li <tt>@ref nn::boss::ResultInvalidAccount</tt> 83 @li <tt>@ref nn::boss::ResultInvalidTitle</tt> 84 85 86 */ 87 NN_DEFINE_RESULT_CONST_RANGE( 88 ResultInvalid, 89 nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_BOSS, 14080, 14080, 16640 90 ); 91 92 /*! 93 @class nn::boss::ResultInvalidParameter 94 @brief Indicates an invalid parameter. 95 96 This result is subsumed by the following results and can be caught by handling any of them. 97 98 @li <tt>@ref nn::boss::ResultInvalid</tt> 99 100 101 */ 102 NN_DEFINE_RESULT_CONST_RANGE( 103 ResultInvalidParameter, 104 nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_BOSS, 14208, 14208, 14336 105 ); 106 107 /*! 108 @class nn::boss::ResultInvalidFormat 109 @brief Indicates an invalid format. 110 111 This result is subsumed by the following results and can be caught by handling any of them. 112 113 @li <tt>@ref nn::boss::ResultInvalid</tt> 114 115 116 */ 117 NN_DEFINE_RESULT_CONST_RANGE( 118 ResultInvalidFormat, 119 nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_BOSS, 14336, 14336, 14464 120 ); 121 122 /*! 123 @class nn::boss::ResultInvalidAccount 124 @brief Indicates an invalid account error. 125 126 This result is subsumed by the following results and can be caught by handling any of them. 127 128 @li <tt>@ref nn::boss::ResultInvalid</tt> 129 130 131 */ 132 NN_DEFINE_RESULT_CONST_RANGE( 133 ResultInvalidAccount, 134 nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_BOSS, 14464, 14464, 14592 135 ); 136 137 /*! 138 @class nn::boss::ResultInvalidTitle 139 @brief Indicates an invalid title. 140 141 This result is subsumed by the following results and can be caught by handling any of them. 142 143 @li <tt>@ref nn::boss::ResultInvalid</tt> 144 145 146 */ 147 NN_DEFINE_RESULT_CONST_RANGE( 148 ResultInvalidTitle, 149 nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_BOSS, 14592, 14592, 14720 150 ); 151 152 /*! 153 @class nn::boss::ResultNoSupport 154 @brief Represents a "not supported" result. 155 156 */ 157 NN_DEFINE_RESULT_CONST_RANGE( 158 ResultNoSupport, 159 nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_BOSS, 16640, 16640, 17920 160 ); 161 162 /*! 163 @class nn::boss::ResultInitialized 164 @brief Represents an "initialized" result. 165 166 */ 167 NN_DEFINE_RESULT_CONST_RANGE( 168 ResultInitialized, 169 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 128000, 128000, 129280 170 ); 171 172 /*! 173 @class nn::boss::ResultNotExist 174 @brief Represents a generic "does not exist" result. 175 176 Handling this <tt>Result</tt> object catches all of the following <tt>Result</tt> objects. 177 178 @li <tt>@ref nn::boss::ResultFileNotExist</tt> 179 @li <tt>@ref nn::boss::ResultBossStorageNotExist</tt> 180 @li <tt>@ref nn::boss::ResultDbNotExist</tt> 181 @li <tt>@ref nn::boss::ResultRecordNotExist</tt> 182 183 184 */ 185 NN_DEFINE_RESULT_CONST_RANGE( 186 ResultNotExist, 187 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 129280, 129280, 131840 188 ); 189 190 /*! 191 @class nn::boss::ResultFileNotExist 192 @brief Indicates that the file does not exist. 193 194 This result is subsumed by the following results and can be caught by handling any of them. 195 196 @li <tt>@ref nn::boss::ResultNotExist</tt> 197 198 199 */ 200 NN_DEFINE_RESULT_CONST_RANGE( 201 ResultFileNotExist, 202 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 129408, 129408, 129536 203 ); 204 205 /*! 206 @class nn::boss::ResultBossStorageNotExist 207 @brief Indicates that the BOSS storage does not exist. 208 209 This result is subsumed by the following results and can be caught by handling any of them. 210 211 @li <tt>@ref nn::boss::ResultNotExist</tt> 212 213 214 */ 215 NN_DEFINE_RESULT_CONST_RANGE( 216 ResultBossStorageNotExist, 217 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 129536, 129536, 129664 218 ); 219 220 /*! 221 @class nn::boss::ResultDbNotExist 222 @brief Indicates that the database does not exist. 223 224 This result is subsumed by the following results and can be caught by handling any of them. 225 226 @li <tt>@ref nn::boss::ResultNotExist</tt> 227 228 229 */ 230 NN_DEFINE_RESULT_CONST_RANGE( 231 ResultDbNotExist, 232 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 129664, 129664, 129792 233 ); 234 235 /*! 236 @class nn::boss::ResultRecordNotExist 237 @brief Indicates that the database record does not exist. 238 239 This result is subsumed by the following results and can be caught by handling any of them. 240 241 @li <tt>@ref nn::boss::ResultNotExist</tt> 242 243 244 */ 245 NN_DEFINE_RESULT_CONST_RANGE( 246 ResultRecordNotExist, 247 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 129792, 129792, 129920 248 ); 249 250 /*! 251 @class nn::boss::ResultNotCompleted 252 @brief Represents a "not completed" result. 253 254 */ 255 NN_DEFINE_RESULT_CONST_RANGE( 256 ResultNotCompleted, 257 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 131840, 131840, 133120 258 ); 259 260 /*! 261 @class nn::boss::ResultNotPermitted 262 @brief Represents a "not permitted" result. 263 264 */ 265 NN_DEFINE_RESULT_CONST_RANGE( 266 ResultNotPermitted, 267 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 133120, 133120, 134400 268 ); 269 270 /*! 271 @class nn::boss::ResultFull 272 @brief Indicates that the maximum value has been reached. 273 274 Handling this <tt>Result</tt> object catches all of the following <tt>Result</tt> objects. 275 276 @li <tt>@ref nn::boss::ResultSizeFull</tt> 277 @li <tt>@ref nn::boss::ResultCountFull</tt> 278 279 280 */ 281 NN_DEFINE_RESULT_CONST_RANGE( 282 ResultFull, 283 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 134400, 134400, 135680 284 ); 285 286 /*! 287 @class nn::boss::ResultSizeFull 288 @brief Indicates that the maximum size has been reached. 289 290 This result is subsumed by the following results and can be caught by handling any of them. 291 292 @li <tt>@ref nn::boss::ResultFull</tt> 293 294 295 */ 296 NN_DEFINE_RESULT_CONST_RANGE( 297 ResultSizeFull, 298 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 134528, 134528, 134656 299 ); 300 301 /*! 302 @class nn::boss::ResultCountFull 303 @brief Indicates that the maximum count has been reached. 304 305 This result is subsumed by the following results and can be caught by handling any of them. 306 307 @li <tt>@ref nn::boss::ResultFull</tt> 308 309 310 */ 311 NN_DEFINE_RESULT_CONST_RANGE( 312 ResultCountFull, 313 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 134656, 134656, 134784 314 ); 315 316 /*! 317 @class nn::boss::ResultFinished 318 @brief Represents a generic "finished" result. 319 320 Handling this <tt>Result</tt> object catches all of the following <tt>Result</tt> objects. 321 322 @li <tt>@ref nn::boss::ResultServiceFinished</tt> 323 324 325 */ 326 NN_DEFINE_RESULT_CONST_RANGE( 327 ResultFinished, 328 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 135680, 135680, 136960 329 ); 330 331 /*! 332 @class nn::boss::ResultServiceFinished 333 @brief Indicates that the service is finished. 334 335 This result is subsumed by the following results and can be caught by handling any of them. 336 337 @li <tt>@ref nn::boss::ResultFinished</tt> 338 339 340 */ 341 NN_DEFINE_RESULT_CONST_RANGE( 342 ResultServiceFinished, 343 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 135808, 135808, 135936 344 ); 345 346 /*! 347 @class nn::boss::ResultCanceled 348 @brief Indicates that the action was canceled. 349 350 */ 351 NN_DEFINE_RESULT_CONST_RANGE( 352 ResultCanceled, 353 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 136960, 136960, 138240 354 ); 355 356 /*! 357 @class nn::boss::ResultStoppedByPolicylist 358 @brief Indicates that the action was stopped by the policy list. 359 360 */ 361 NN_DEFINE_RESULT_CONST_RANGE( 362 ResultStoppedByPolicylist, 363 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 138240, 138240, 139520 364 ); 365 366 /*! 367 @class nn::boss::ResultAlreadyExist 368 @brief Indicates that the target already exists. 369 370 */ 371 NN_DEFINE_RESULT_CONST_RANGE( 372 ResultAlreadyExist, 373 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 139520, 139520, 140800 374 ); 375 376 /*! 377 @class nn::boss::ResultCannotGetNetworkTime 378 @brief Indicates that the network time could not be retrieved. 379 380 */ 381 NN_DEFINE_RESULT_CONST_RANGE( 382 ResultCannotGetNetworkTime, 383 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 140800, 140800, 142080 384 ); 385 386 /*! 387 @class nn::boss::ResultNotNetworkAccount 388 @brief Indicates that the network account does not exist. 389 390 */ 391 NN_DEFINE_RESULT_CONST_RANGE( 392 ResultNotNetworkAccount, 393 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 142080, 142080, 143360 394 ); 395 396 /*! 397 @class nn::boss::ResultRestrictedByParentalControl 398 @brief Indicates that the action is prohibited by the account-level Parental Controls (Online Interaction in Games). 399 400 */ 401 NN_DEFINE_RESULT_CONST_RANGE( 402 ResultRestrictedByParentalControl, 403 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 143360, 143360, 144640 404 ); 405 406 /*! 407 @class nn::boss::ResultDisableUploadConsoleInformation 408 @brief Indicates that sending system information is disabled in the System Settings. 409 410 */ 411 NN_DEFINE_RESULT_CONST_RANGE( 412 ResultDisableUploadConsoleInformation, 413 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 144640, 144640, 145920 414 ); 415 416 /*! 417 @class nn::boss::ResultNotConnectNetwork 418 @brief Indicates that the system is not connected to the infrastructure network. 419 420 */ 421 NN_DEFINE_RESULT_CONST_RANGE( 422 ResultNotConnectNetwork, 423 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 145920, 145920, 147200 424 ); 425 426 /*! 427 @class nn::boss::ResultRestrictedByParentalControlTotalEnable 428 @brief Indicates that the action is prohibited by the enabled settings for the Parental Controls overall. 429 430 */ 431 NN_DEFINE_RESULT_CONST_RANGE( 432 ResultRestrictedByParentalControlTotalEnable, 433 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 147200, 147200, 148480 434 ); 435 436 /*! 437 @class nn::boss::ResultNotFound 438 @brief Indicates that the object cannot be found. 439 440 Handling this <tt>Result</tt> object catches all of the following <tt>Result</tt> objects. 441 442 @li <tt>@ref nn::boss::ResultBossStorageNotFound</tt> 443 444 445 */ 446 NN_DEFINE_RESULT_CONST_RANGE( 447 ResultNotFound, 448 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 148480, 148480, 149760 449 ); 450 451 /*! 452 @class nn::boss::ResultBossStorageNotFound 453 @brief Indicates the BOSS storage cannot be found. 454 455 This result is subsumed by the following results and can be caught by handling any of them. 456 457 @li <tt>@ref nn::boss::ResultNotFound</tt> 458 459 460 */ 461 NN_DEFINE_RESULT_CONST_RANGE( 462 ResultBossStorageNotFound, 463 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 148608, 148608, 148736 464 ); 465 466 /*! 467 @class nn::boss::ResultHttpError 468 @brief Indicates an HTTP communication error. 469 470 */ 471 NN_DEFINE_RESULT_CONST_RANGE( 472 ResultHttpError, 473 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 256000, 256000, 268800 474 ); 475 476 /*! 477 @class nn::boss::ResultFsError 478 @brief Indicates a generic file system error. 479 480 Handling this <tt>Result</tt> object catches all of the following <tt>Result</tt> objects. 481 482 @li <tt>@ref nn::boss::ResultFsErrorNotInit</tt> 483 @li <tt>@ref nn::boss::ResultFsErrorBusy</tt> 484 @li <tt>@ref nn::boss::ResultFsErrorCanceled</tt> 485 @li <tt>@ref nn::boss::ResultFsErrorEndOfDirectory</tt> 486 @li <tt>@ref nn::boss::ResultFsErrorEndOfFile</tt> 487 @li <tt>@ref nn::boss::ResultFsErrorMaxMountpoints</tt> 488 @li <tt>@ref nn::boss::ResultFsErrorMaxVolumes</tt> 489 @li <tt>@ref nn::boss::ResultFsErrorMaxClients</tt> 490 @li <tt>@ref nn::boss::ResultFsErrorMaxFiles</tt> 491 @li <tt>@ref nn::boss::ResultFsErrorMaxDirs</tt> 492 @li <tt>@ref nn::boss::ResultFsErrorAlreadyOpen</tt> 493 @li <tt>@ref nn::boss::ResultFsErrorAlreadyExists</tt> 494 @li <tt>@ref nn::boss::ResultFsErrorNotFound</tt> 495 @li <tt>@ref nn::boss::ResultFsErrorNotEmpty</tt> 496 @li <tt>@ref nn::boss::ResultFsErrorAccessError</tt> 497 @li <tt>@ref nn::boss::ResultFsErrorPermissionError</tt> 498 @li <tt>@ref nn::boss::ResultFsErrorDataCorrupted</tt> 499 @li <tt>@ref nn::boss::ResultFsErrorStorageFull</tt> 500 @li <tt>@ref nn::boss::ResultFsErrorJournalFull</tt> 501 @li <tt>@ref nn::boss::ResultFsErrorUnavailableCmd</tt> 502 @li <tt>@ref nn::boss::ResultFsErrorUnsupportedCmd</tt> 503 @li <tt>@ref nn::boss::ResultFsErrorInvalidParam</tt> 504 @li <tt>@ref nn::boss::ResultFsErrorInvalidPath</tt> 505 @li <tt>@ref nn::boss::ResultFsErrorInvalidBuffer</tt> 506 @li <tt>@ref nn::boss::ResultFsErrorInvalidAlignment</tt> 507 @li <tt>@ref nn::boss::ResultFsErrorInvalidClientHandle</tt> 508 @li <tt>@ref nn::boss::ResultFsErrorInvalidFileHandle</tt> 509 @li <tt>@ref nn::boss::ResultFsErrorInvalidDirHandle</tt> 510 @li <tt>@ref nn::boss::ResultFsErrorNotFile</tt> 511 @li <tt>@ref nn::boss::ResultFsErrorNotDir</tt> 512 @li <tt>@ref nn::boss::ResultFsErrorFileTooBig</tt> 513 @li <tt>@ref nn::boss::ResultFsErrorOutOfRange</tt> 514 @li <tt>@ref nn::boss::ResultFsErrorOutOfResources</tt> 515 @li <tt>@ref nn::boss::ResultFsErrorMediaNotReady</tt> 516 @li <tt>@ref nn::boss::ResultFsErrorMediaError</tt> 517 @li <tt>@ref nn::boss::ResultFsErrorWriteProtected</tt> 518 @li <tt>@ref nn::boss::ResultFsErrorUnknown</tt> 519 520 521 */ 522 NN_DEFINE_RESULT_CONST_RANGE( 523 ResultFsError, 524 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 320000, 320000, 332800 525 ); 526 527 /*! 528 @class nn::boss::ResultFsErrorNotInit 529 @brief Indicates a file system error: not initialized. 530 531 This result is subsumed by the following results and can be caught by handling any of them. 532 533 @li <tt>@ref nn::boss::ResultFsError</tt> 534 535 536 */ 537 NN_DEFINE_RESULT_CONST_RANGE( 538 ResultFsErrorNotInit, 539 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 320128, 320128, 320256 540 ); 541 542 /*! 543 @class nn::boss::ResultFsErrorBusy 544 @brief Indicates a file system error: busy. 545 546 This result is subsumed by the following results and can be caught by handling any of them. 547 548 @li <tt>@ref nn::boss::ResultFsError</tt> 549 550 551 */ 552 NN_DEFINE_RESULT_CONST_RANGE( 553 ResultFsErrorBusy, 554 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 320256, 320256, 320384 555 ); 556 557 /*! 558 @class nn::boss::ResultFsErrorCanceled 559 @brief Indicates a file system error: canceled. 560 561 This result is subsumed by the following results and can be caught by handling any of them. 562 563 @li <tt>@ref nn::boss::ResultFsError</tt> 564 565 566 */ 567 NN_DEFINE_RESULT_CONST_RANGE( 568 ResultFsErrorCanceled, 569 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 320384, 320384, 320512 570 ); 571 572 /*! 573 @class nn::boss::ResultFsErrorEndOfDirectory 574 @brief Indicates a file system error: End of directory. 575 576 This result is subsumed by the following results and can be caught by handling any of them. 577 578 @li <tt>@ref nn::boss::ResultFsError</tt> 579 580 581 */ 582 NN_DEFINE_RESULT_CONST_RANGE( 583 ResultFsErrorEndOfDirectory, 584 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 320512, 320512, 320640 585 ); 586 587 /*! 588 @class nn::boss::ResultFsErrorEndOfFile 589 @brief Indicates a file system error: end of directory. 590 591 This result is subsumed by the following results and can be caught by handling any of them. 592 593 @li <tt>@ref nn::boss::ResultFsError</tt> 594 595 596 */ 597 NN_DEFINE_RESULT_CONST_RANGE( 598 ResultFsErrorEndOfFile, 599 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 320640, 320640, 320768 600 ); 601 602 /*! 603 @class nn::boss::ResultFsErrorMaxMountpoints 604 @brief Indicates a file system error: maximum number of mount points. 605 606 This result is subsumed by the following results and can be caught by handling any of them. 607 608 @li <tt>@ref nn::boss::ResultFsError</tt> 609 610 611 */ 612 NN_DEFINE_RESULT_CONST_RANGE( 613 ResultFsErrorMaxMountpoints, 614 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 320768, 320768, 320896 615 ); 616 617 /*! 618 @class nn::boss::ResultFsErrorMaxVolumes 619 @brief Indicates a file system error: maximum number of volumes. 620 621 This result is subsumed by the following results and can be caught by handling any of them. 622 623 @li <tt>@ref nn::boss::ResultFsError</tt> 624 625 626 */ 627 NN_DEFINE_RESULT_CONST_RANGE( 628 ResultFsErrorMaxVolumes, 629 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 320896, 320896, 321024 630 ); 631 632 /*! 633 @class nn::boss::ResultFsErrorMaxClients 634 @brief Indicates a file system error: maximum number of clients. 635 636 This result is subsumed by the following results and can be caught by handling any of them. 637 638 @li <tt>@ref nn::boss::ResultFsError</tt> 639 640 641 */ 642 NN_DEFINE_RESULT_CONST_RANGE( 643 ResultFsErrorMaxClients, 644 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 321024, 321024, 321152 645 ); 646 647 /*! 648 @class nn::boss::ResultFsErrorMaxFiles 649 @brief Indicates a file system error: maximum number of files. 650 651 This result is subsumed by the following results and can be caught by handling any of them. 652 653 @li <tt>@ref nn::boss::ResultFsError</tt> 654 655 656 */ 657 NN_DEFINE_RESULT_CONST_RANGE( 658 ResultFsErrorMaxFiles, 659 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 321152, 321152, 321280 660 ); 661 662 /*! 663 @class nn::boss::ResultFsErrorMaxDirs 664 @brief Indicates a file system error: maximum number of directories. 665 666 This result is subsumed by the following results and can be caught by handling any of them. 667 668 @li <tt>@ref nn::boss::ResultFsError</tt> 669 670 671 */ 672 NN_DEFINE_RESULT_CONST_RANGE( 673 ResultFsErrorMaxDirs, 674 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 321280, 321280, 321408 675 ); 676 677 /*! 678 @class nn::boss::ResultFsErrorAlreadyOpen 679 @brief Indicates a file system error: already open. 680 681 This result is subsumed by the following results and can be caught by handling any of them. 682 683 @li <tt>@ref nn::boss::ResultFsError</tt> 684 685 686 */ 687 NN_DEFINE_RESULT_CONST_RANGE( 688 ResultFsErrorAlreadyOpen, 689 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 321408, 321408, 321536 690 ); 691 692 /*! 693 @class nn::boss::ResultFsErrorAlreadyExists 694 @brief Indicates a file system error: already exists. 695 696 This result is subsumed by the following results and can be caught by handling any of them. 697 698 @li <tt>@ref nn::boss::ResultFsError</tt> 699 700 701 */ 702 NN_DEFINE_RESULT_CONST_RANGE( 703 ResultFsErrorAlreadyExists, 704 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 321536, 321536, 321664 705 ); 706 707 /*! 708 @class nn::boss::ResultFsErrorNotFound 709 @brief Indicates a file system error: not found. 710 711 This result is subsumed by the following results and can be caught by handling any of them. 712 713 @li <tt>@ref nn::boss::ResultFsError</tt> 714 715 716 */ 717 NN_DEFINE_RESULT_CONST_RANGE( 718 ResultFsErrorNotFound, 719 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 321664, 321664, 321792 720 ); 721 722 /*! 723 @class nn::boss::ResultFsErrorNotEmpty 724 @brief Indicates a file system error: not empty. 725 726 This result is subsumed by the following results and can be caught by handling any of them. 727 728 @li <tt>@ref nn::boss::ResultFsError</tt> 729 730 731 */ 732 NN_DEFINE_RESULT_CONST_RANGE( 733 ResultFsErrorNotEmpty, 734 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 321792, 321792, 321920 735 ); 736 737 /*! 738 @class nn::boss::ResultFsErrorAccessError 739 @brief Indicates a file access error. 740 741 This result is subsumed by the following results and can be caught by handling any of them. 742 743 @li <tt>@ref nn::boss::ResultFsError</tt> 744 745 746 */ 747 NN_DEFINE_RESULT_CONST_RANGE( 748 ResultFsErrorAccessError, 749 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 321920, 321920, 322048 750 ); 751 752 /*! 753 @class nn::boss::ResultFsErrorPermissionError 754 @brief Indicates a file system error: not allowed 755 756 This result is subsumed by the following results and can be caught by handling any of them. 757 758 @li <tt>@ref nn::boss::ResultFsError</tt> 759 760 761 */ 762 NN_DEFINE_RESULT_CONST_RANGE( 763 ResultFsErrorPermissionError, 764 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 322048, 322048, 322176 765 ); 766 767 /*! 768 @class nn::boss::ResultFsErrorDataCorrupted 769 @brief Indicates a file system error: data corrupted. 770 771 This result is subsumed by the following results and can be caught by handling any of them. 772 773 @li <tt>@ref nn::boss::ResultFsError</tt> 774 775 776 */ 777 NN_DEFINE_RESULT_CONST_RANGE( 778 ResultFsErrorDataCorrupted, 779 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 322176, 322176, 322304 780 ); 781 782 /*! 783 @class nn::boss::ResultFsErrorStorageFull 784 @brief Indicates a file system error: storage full. 785 786 This result is subsumed by the following results and can be caught by handling any of them. 787 788 @li <tt>@ref nn::boss::ResultFsError</tt> 789 790 791 */ 792 NN_DEFINE_RESULT_CONST_RANGE( 793 ResultFsErrorStorageFull, 794 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 322304, 322304, 322432 795 ); 796 797 /*! 798 @class nn::boss::ResultFsErrorJournalFull 799 @brief Indicates a file system error: journal full. 800 801 This result is subsumed by the following results and can be caught by handling any of them. 802 803 @li <tt>@ref nn::boss::ResultFsError</tt> 804 805 806 */ 807 NN_DEFINE_RESULT_CONST_RANGE( 808 ResultFsErrorJournalFull, 809 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 322432, 322432, 322560 810 ); 811 812 /*! 813 @class nn::boss::ResultFsErrorUnavailableCmd 814 @brief Indicates a file system error: command not available. 815 816 This result is subsumed by the following results and can be caught by handling any of them. 817 818 @li <tt>@ref nn::boss::ResultFsError</tt> 819 820 821 */ 822 NN_DEFINE_RESULT_CONST_RANGE( 823 ResultFsErrorUnavailableCmd, 824 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 322560, 322560, 322688 825 ); 826 827 /*! 828 @class nn::boss::ResultFsErrorUnsupportedCmd 829 @brief Indicates a file system error: command not supported. 830 831 This result is subsumed by the following results and can be caught by handling any of them. 832 833 @li <tt>@ref nn::boss::ResultFsError</tt> 834 835 836 */ 837 NN_DEFINE_RESULT_CONST_RANGE( 838 ResultFsErrorUnsupportedCmd, 839 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 322688, 322688, 322816 840 ); 841 842 /*! 843 @class nn::boss::ResultFsErrorInvalidParam 844 @brief Indicates a file system error: invalid parameter. 845 846 This result is subsumed by the following results and can be caught by handling any of them. 847 848 @li <tt>@ref nn::boss::ResultFsError</tt> 849 850 851 */ 852 NN_DEFINE_RESULT_CONST_RANGE( 853 ResultFsErrorInvalidParam, 854 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 322816, 322816, 322944 855 ); 856 857 /*! 858 @class nn::boss::ResultFsErrorInvalidPath 859 @brief Indicates a file system error: invalid path. 860 861 This result is subsumed by the following results and can be caught by handling any of them. 862 863 @li <tt>@ref nn::boss::ResultFsError</tt> 864 865 866 */ 867 NN_DEFINE_RESULT_CONST_RANGE( 868 ResultFsErrorInvalidPath, 869 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 322944, 322944, 323072 870 ); 871 872 /*! 873 @class nn::boss::ResultFsErrorInvalidBuffer 874 @brief Indicates a file system error: invalid buffer. 875 876 This result is subsumed by the following results and can be caught by handling any of them. 877 878 @li <tt>@ref nn::boss::ResultFsError</tt> 879 880 881 */ 882 NN_DEFINE_RESULT_CONST_RANGE( 883 ResultFsErrorInvalidBuffer, 884 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 323072, 323072, 323200 885 ); 886 887 /*! 888 @class nn::boss::ResultFsErrorInvalidAlignment 889 @brief Indicates a file system error: invalid alignment. 890 891 This result is subsumed by the following results and can be caught by handling any of them. 892 893 @li <tt>@ref nn::boss::ResultFsError</tt> 894 895 896 */ 897 NN_DEFINE_RESULT_CONST_RANGE( 898 ResultFsErrorInvalidAlignment, 899 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 323200, 323200, 323328 900 ); 901 902 /*! 903 @class nn::boss::ResultFsErrorInvalidClientHandle 904 @brief Indicates a file system error: invalid client handle. 905 906 This result is subsumed by the following results and can be caught by handling any of them. 907 908 @li <tt>@ref nn::boss::ResultFsError</tt> 909 910 911 */ 912 NN_DEFINE_RESULT_CONST_RANGE( 913 ResultFsErrorInvalidClientHandle, 914 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 323328, 323328, 323456 915 ); 916 917 /*! 918 @class nn::boss::ResultFsErrorInvalidFileHandle 919 @brief Indicates a file system error: invalid file handle. 920 921 This result is subsumed by the following results and can be caught by handling any of them. 922 923 @li <tt>@ref nn::boss::ResultFsError</tt> 924 925 926 */ 927 NN_DEFINE_RESULT_CONST_RANGE( 928 ResultFsErrorInvalidFileHandle, 929 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 323456, 323456, 323584 930 ); 931 932 /*! 933 @class nn::boss::ResultFsErrorInvalidDirHandle 934 @brief Indicates a file system error: invalid directory handle. 935 936 This result is subsumed by the following results and can be caught by handling any of them. 937 938 @li <tt>@ref nn::boss::ResultFsError</tt> 939 940 941 */ 942 NN_DEFINE_RESULT_CONST_RANGE( 943 ResultFsErrorInvalidDirHandle, 944 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 323584, 323584, 323712 945 ); 946 947 /*! 948 @class nn::boss::ResultFsErrorNotFile 949 @brief Indicates a file system error: not a file. 950 951 This result is subsumed by the following results and can be caught by handling any of them. 952 953 @li <tt>@ref nn::boss::ResultFsError</tt> 954 955 956 */ 957 NN_DEFINE_RESULT_CONST_RANGE( 958 ResultFsErrorNotFile, 959 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 323712, 323712, 323840 960 ); 961 962 /*! 963 @class nn::boss::ResultFsErrorNotDir 964 @brief Indicates a file system error: not a directory. 965 966 This result is subsumed by the following results and can be caught by handling any of them. 967 968 @li <tt>@ref nn::boss::ResultFsError</tt> 969 970 971 */ 972 NN_DEFINE_RESULT_CONST_RANGE( 973 ResultFsErrorNotDir, 974 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 323840, 323840, 323968 975 ); 976 977 /*! 978 @class nn::boss::ResultFsErrorFileTooBig 979 @brief Indicates a file system error: file too large. 980 981 This result is subsumed by the following results and can be caught by handling any of them. 982 983 @li <tt>@ref nn::boss::ResultFsError</tt> 984 985 986 */ 987 NN_DEFINE_RESULT_CONST_RANGE( 988 ResultFsErrorFileTooBig, 989 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 323968, 323968, 324096 990 ); 991 992 /*! 993 @class nn::boss::ResultFsErrorOutOfRange 994 @brief Indicates a file system error: invalid range. 995 996 This result is subsumed by the following results and can be caught by handling any of them. 997 998 @li <tt>@ref nn::boss::ResultFsError</tt> 999 1000 1001 */ 1002 NN_DEFINE_RESULT_CONST_RANGE( 1003 ResultFsErrorOutOfRange, 1004 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 324096, 324096, 324224 1005 ); 1006 1007 /*! 1008 @class nn::boss::ResultFsErrorOutOfResources 1009 @brief Indicates a file system error: out of resources. 1010 1011 This result is subsumed by the following results and can be caught by handling any of them. 1012 1013 @li <tt>@ref nn::boss::ResultFsError</tt> 1014 1015 1016 */ 1017 NN_DEFINE_RESULT_CONST_RANGE( 1018 ResultFsErrorOutOfResources, 1019 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 324224, 324224, 324352 1020 ); 1021 1022 /*! 1023 @class nn::boss::ResultFsErrorMediaNotReady 1024 @brief Indicates a file system error: media not ready. 1025 1026 This result is subsumed by the following results and can be caught by handling any of them. 1027 1028 @li <tt>@ref nn::boss::ResultFsError</tt> 1029 1030 1031 */ 1032 NN_DEFINE_RESULT_CONST_RANGE( 1033 ResultFsErrorMediaNotReady, 1034 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 324352, 324352, 324480 1035 ); 1036 1037 /*! 1038 @class nn::boss::ResultFsErrorMediaError 1039 @brief Indicates a file system error: media error. 1040 1041 This result is subsumed by the following results and can be caught by handling any of them. 1042 1043 @li <tt>@ref nn::boss::ResultFsError</tt> 1044 1045 1046 */ 1047 NN_DEFINE_RESULT_CONST_RANGE( 1048 ResultFsErrorMediaError, 1049 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 324480, 324480, 324608 1050 ); 1051 1052 /*! 1053 @class nn::boss::ResultFsErrorWriteProtected 1054 @brief Indicates a file system error: write protected. 1055 1056 This result is subsumed by the following results and can be caught by handling any of them. 1057 1058 @li <tt>@ref nn::boss::ResultFsError</tt> 1059 1060 1061 */ 1062 NN_DEFINE_RESULT_CONST_RANGE( 1063 ResultFsErrorWriteProtected, 1064 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 324608, 324608, 324736 1065 ); 1066 1067 /*! 1068 @class nn::boss::ResultFsErrorUnknown 1069 @brief Indicates a file system error: unknown error. 1070 1071 This result is subsumed by the following results and can be caught by handling any of them. 1072 1073 @li <tt>@ref nn::boss::ResultFsError</tt> 1074 1075 1076 */ 1077 NN_DEFINE_RESULT_CONST_RANGE( 1078 ResultFsErrorUnknown, 1079 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 324736, 324736, 324864 1080 ); 1081 1082 /*! 1083 @class nn::boss::ResultFail 1084 @brief Indicates the reason for failure is unknown. 1085 1086 */ 1087 NN_DEFINE_RESULT_CONST_RANGE( 1088 ResultFail, 1089 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_BOSS, 371200, 371200, 384000 1090 ); 1091 1092 /*! 1093 @class nn::boss::ResultMemoryAllocateError 1094 @brief Indicates that memory allocation failed. 1095 1096 */ 1097 NN_DEFINE_RESULT_CONST_RANGE( 1098 ResultMemoryAllocateError, 1099 nn::Result::LEVEL_FATAL, nn::RESULT_MODULE_NN_BOSS, 384000, 384000, 385280 1100 ); 1101 1102 /*! 1103 @class nn::boss::ResultInitializeError 1104 @brief Indicates an initialization error. 1105 1106 */ 1107 NN_DEFINE_RESULT_CONST_RANGE( 1108 ResultInitializeError, 1109 nn::Result::LEVEL_FATAL, nn::RESULT_MODULE_NN_BOSS, 385280, 385280, 387840 1110 ); 1111 1112 /*! 1113 @class nn::boss::ResultUnexpect 1114 @brief Indicates an unexpected error. 1115 1116 */ 1117 NN_DEFINE_RESULT_CONST_RANGE( 1118 ResultUnexpect, 1119 nn::Result::LEVEL_FATAL, nn::RESULT_MODULE_NN_BOSS, 524160, 524160, 524288 1120 ); 1121 1122 1123 1124 1125 //! @} 1126 1127 } // namespace boss 1128 } // namespace nn 1129 1130 #endif // __cplusplus 1131 1132 #endif // NN_BOSS_BOSS_RESULT_H_ 1133