1 /* 2 * Copyright (c) 2021-2024 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16 #ifndef OHOS_ABILITY_RUNTIME_ABILITY_MANAGER_ERRORS_H 17 #define OHOS_ABILITY_RUNTIME_ABILITY_MANAGER_ERRORS_H 18 19 #include <map> 20 21 #include "errors.h" 22 23 namespace OHOS { 24 namespace AAFwk { 25 enum { 26 /** 27 * Module type: Ability Manager Service side 28 */ 29 ABILITY_MODULE_TYPE_SERVICE = 0, 30 /** 31 * Module type: ABility Kit side 32 */ 33 ABILITY_MODULE_TYPE_KIT = 1, 34 /** 35 * Module type: Ability connection state kit side 36 */ 37 ABILITY_MODULE_TYPE_CONNECTION_STATE_KIT = 2 38 }; 39 40 // offset of aafwk error, only be used in this file. 41 constexpr ErrCode AAFWK_SERVICE_ERR_OFFSET = ErrCodeOffset(SUBSYS_AAFWK, ABILITY_MODULE_TYPE_SERVICE); 42 43 enum { 44 /** 45 * Result(2097152) for StartAbility: An error of the Want could not be resolved 46 * to ability info from BMS or DistributedMS. 47 */ 48 RESOLVE_ABILITY_ERR = AAFWK_SERVICE_ERR_OFFSET, 49 /** 50 * Result(2097153) for Connect: An error of the get ability service. 51 */ 52 GET_ABILITY_SERVICE_FAILED, 53 /** 54 * Result(2097154) for Connect State: An error of the the ability service not connect. 55 */ 56 ABILITY_SERVICE_NOT_CONNECTED, 57 /** 58 * Result(2097155) for StartAbility: An error of the Want could not be resolved 59 * to app info from BMS or DistributedMS. 60 */ 61 RESOLVE_APP_ERR, 62 /** 63 * Result(2097156) for StartAbility: The ability to start is already at the top. 64 */ 65 ABILITY_EXISTED, 66 /** 67 * Result(2097157) for StartAbility: An error to create mission stack. 68 */ 69 CREATE_MISSION_STACK_FAILED, 70 /** 71 * Result(2097158) for StartAbility: An error to create ability record. 72 */ 73 CREATE_ABILITY_RECORD_FAILED, 74 /** 75 * Result(2097159) for StartAbility: The ability to start is waiting. 76 */ 77 START_ABILITY_WAITING, 78 /** 79 * Result(2097160) for TerminateAbility: Don't allow to terminate launcher. 80 */ 81 TERMINATE_LAUNCHER_DENIED, 82 /** 83 * Result(2097161) for DisconnectAbility: Connection not exist. 84 */ 85 CONNECTION_NOT_EXIST, 86 /** 87 * Result(2097162) for DisconnectAbility:Connection is invalid state. 88 */ 89 INVALID_CONNECTION_STATE, 90 /** 91 * Result(2097163) for LoadctAbility:LoadAbility timeout. 92 */ 93 LOAD_ABILITY_TIMEOUT, 94 /** 95 * Result(2097164) for DisconnectAbility:Connection timeout. 96 */ 97 CONNECTION_TIMEOUT, 98 /** 99 * Result(2097165) for start service: An error of the get BundleManagerService. 100 */ 101 GET_BUNDLE_MANAGER_SERVICE_FAILED, 102 /** 103 * Result(2097166) for Remove mission: An error of removing mission. 104 */ 105 REMOVE_MISSION_FAILED, 106 /** 107 * Result(2097167) for All: An error occurs in server. 108 */ 109 INNER_ERR, 110 /** 111 * Result(2097168) for Get recent mission: get recent missions failed 112 */ 113 GET_RECENT_MISSIONS_FAILED, 114 /** 115 * Result(2097169) for Remove stack: Don't allow to remove stack which has launcher ability. 116 */ 117 REMOVE_STACK_LAUNCHER_DENIED, 118 /** 119 * Result(2097170) for ConnectAbility:target ability is not service ability. 120 */ 121 TARGET_ABILITY_NOT_SERVICE, 122 /** 123 * Result(2097171) for TerminateAbility:target service has a record of connect. It cannot be stopped. 124 */ 125 TERMINATE_SERVICE_IS_CONNECTED, 126 /** 127 * Result(2097172) for StartAbility:The ability to start is already activating.. 128 */ 129 START_SERVICE_ABILITY_ACTIVATING, 130 /** 131 * Result(2097173) for move mission to top: An error of moving stack. 132 */ 133 MOVE_MISSION_FAILED, 134 /** 135 * Result(2097174) for kill process: An error of kill process. 136 */ 137 KILL_PROCESS_FAILED, 138 /** 139 * Result(2097175) for uninstall app: An error of uninstall app. 140 */ 141 UNINSTALL_APP_FAILED, 142 /** 143 * Result(2097176) for terminate ability result: An error of terminate service. 144 */ 145 TERMINATE_ABILITY_RESULT_FAILED, 146 /** 147 * Result(2097177) for check permission failed. 148 */ 149 CHECK_PERMISSION_FAILED, 150 151 /** 152 * Result(2097178) for no found abilityrecord by caller 153 */ 154 NO_FOUND_ABILITY_BY_CALLER, 155 156 /** 157 * Result(2097179) for ability visible attribute is false. 158 */ 159 ABILITY_VISIBLE_FALSE_DENY_REQUEST, 160 161 /** 162 * Result(2097180) for caller is not systemapp. 163 */ 164 CALLER_ISNOT_SYSTEMAPP, 165 166 /** 167 * Result(2097181) for get bundleName by uid fail. 168 */ 169 GET_BUNDLENAME_BY_UID_FAIL, 170 171 /** 172 * Result(2097182) for mission not found. 173 */ 174 MISSION_NOT_FOUND, 175 176 /** 177 * Result(2097183) for get bundle info fail. 178 */ 179 GET_BUNDLE_INFO_FAILED, 180 181 /** 182 * Result(2097184) for KillProcess: keep alive process can not be killed 183 */ 184 KILL_PROCESS_KEEP_ALIVE, 185 186 /** 187 * Result(2097185) for clear the application data fail. 188 */ 189 CLEAR_APPLICATION_DATA_FAIL, 190 191 // for call ability 192 /** 193 * Result(2097186) for resolve ability failed, there is no permissions 194 */ 195 RESOLVE_CALL_NO_PERMISSIONS, 196 197 /** 198 * Result(2097187) for resolve ability failed, target ability not page or singleton 199 */ 200 RESOLVE_CALL_ABILITY_TYPE_ERR, 201 202 /** 203 * Result(2097188) for resolve ability failed, resolve failed. 204 */ 205 RESOLVE_CALL_ABILITY_INNER_ERR, 206 207 /** 208 * Result(2097189) for resolve ability failed, resolve failed. 209 */ 210 RESOLVE_CALL_ABILITY_VERSION_ERR, 211 212 /** 213 * Result(2097190) for release ability failed, release failed. 214 */ 215 RELEASE_CALL_ABILITY_INNER_ERR, 216 217 /** 218 * Result(2097191) for register remote mission listener fail. 219 */ 220 REGISTER_REMOTE_MISSION_LISTENER_FAIL, 221 222 /** 223 * Result(2097192) for unregister remote mission listener fail. 224 */ 225 UNREGISTER_REMOTE_MISSION_LISTENER_FAIL, 226 227 /** 228 * Result(2097193) for invalid userid. 229 */ 230 INVALID_USERID_VALUE, 231 232 /** 233 * Result(2097194) for start user test fail. 234 */ 235 START_USER_TEST_FAIL, 236 237 /** 238 * Result(2097195) for send usr1 sig to the process of not response fail. 239 */ 240 SEND_USR1_SIG_FAIL, 241 242 /** 243 * Result(2097196) for hidump fail. 244 */ 245 ERR_AAFWK_HIDUMP_ERROR, 246 247 /** 248 * Result(2097197) for hidump params are invalid. 249 */ 250 ERR_AAFWK_HIDUMP_INVALID_ARGS, 251 252 /** 253 * Result(2097198) for parcel fail. 254 */ 255 ERR_AAFWK_PARCEL_FAIL, 256 257 /** 258 * Result(2097199) for for implicit start ability is failed. 259 */ 260 ERR_IMPLICIT_START_ABILITY_FAIL, 261 262 /** 263 * Result(2097200) for instance reach to upper limit. 264 */ 265 ERR_REACH_UPPER_LIMIT, 266 267 /** 268 * Result(2097201) for window mode. 269 */ 270 ERR_AAFWK_INVALID_WINDOW_MODE, 271 272 /** 273 * Result(2097202) for wrong interface call. 274 */ 275 ERR_WRONG_INTERFACE_CALL, 276 277 /** 278 * Result(2097203) for crowdtest expired. 279 */ 280 ERR_CROWDTEST_EXPIRED, 281 282 /** 283 * Result(2097204) for application abnormal. 284 */ 285 ERR_APP_CONTROLLED, 286 287 /** 288 * Result(2097205) for invalid caller. 289 */ 290 ERR_INVALID_CALLER, 291 292 /** 293 * Result(2097206) for not allowed continuation flag. 294 */ 295 ERR_INVALID_CONTINUATION_FLAG, 296 297 /** 298 * Result(2097207) for not allowed to cross user. 299 */ 300 ERR_CROSS_USER, 301 302 /** 303 * Result(2097208) for not granted for static permission. 304 */ 305 ERR_STATIC_CFG_PERMISSION, 306 307 /** 308 * Result(2097209) for non-system-app use system-api. 309 */ 310 ERR_NOT_SYSTEM_APP, 311 312 /** 313 * Result(2097210) for ecological rule control. 314 */ 315 ERR_ECOLOGICAL_CONTROL_STATUS, 316 317 /** 318 * Result(2097211) for app jump interceptor. 319 */ 320 ERR_APP_JUMP_INTERCEPTOR_STATUS, 321 322 /** 323 * Result(2097212) for URI flag invalid. 324 */ 325 ERR_CODE_INVALID_URI_FLAG, 326 327 /** 328 * Result(2097213) for URI type invalid. 329 */ 330 ERR_CODE_INVALID_URI_TYPE, 331 332 /** 333 * Result(2097214) for start not self application. 334 */ 335 ERR_NOT_SELF_APPLICATION, 336 337 /** 338 * Result(2097215) for edm application abnormal. 339 */ 340 ERR_EDM_APP_CONTROLLED, 341 342 /** 343 * Result(2097216) for sandbox application grant URI permission. 344 */ 345 ERR_CODE_GRANT_URI_PERMISSION, 346 347 /** 348 * Result(2097217) for collaborator is empty. 349 */ 350 ERR_COLLABORATOR_NOT_REGISTER, 351 352 /** 353 * Result(2097218) for collaborator is empty. 354 */ 355 ERR_COLLABORATOR_NOTIFY_FAILED, 356 357 /** 358 * Result(2097219) for prouct application boot setting. 359 */ 360 ERR_NOT_SUPPORTED_PRODUCT_TYPE, 361 362 /** 363 * Result(2097220) for starting invalid component. 364 */ 365 ERR_INSIGHT_INTENT_START_INVALID_COMPONENT, 366 367 /** 368 * Result(2097221) for developer mode. 369 */ 370 ERR_NOT_DEVELOPER_MODE, 371 372 /** 373 * Result(2097222) for get active ability list empty when record exit reason. 374 */ 375 ERR_GET_ACTIVE_ABILITY_LIST_EMPTY, 376 377 /** 378 * Result(2097223) for query highest priority ability. 379 */ 380 ERR_QUERY_HIGHEST_PRIORITY_ABILITY, 381 382 /** 383 * Result(2097224) for the target to restart does not belong to the current app or is not a UIAbility. 384 */ 385 ERR_RESTART_APP_INCORRECT_ABILITY, 386 387 /** 388 * Result(2097225) for restart too frequently. Try again at least 3s later. 389 */ 390 ERR_RESTART_APP_FREQUENT, 391 392 /** 393 * Result(2097226) for connect ERMS service failed. 394 */ 395 ERR_CONNECT_ERMS_FAILED, 396 397 /** 398 * Result(2097227) for ability is not foreground state. 399 */ 400 ERR_ABILITY_NOT_FOREGROUND, 401 402 /** 403 * Result(2097228) for in wukong mode, ability can not move to foreground or background. 404 */ 405 ERR_WUKONG_MODE_CANT_MOVE_STATE, 406 407 /** 408 * Result(2097229) for operation not supported on current device. 409 */ 410 ERR_OPERATION_NOT_SUPPORTED_ON_CURRENT_DEVICE, 411 412 /** 413 * Result(2097230) for capability not support. 414 */ 415 ERR_CAPABILITY_NOT_SUPPORT, 416 417 /** 418 * Result(2097231) for not allow implicit start. 419 */ 420 ERR_NOT_ALLOW_IMPLICIT_START, 421 422 /** 423 * Result(2097232) for start options check failed. 424 */ 425 ERR_START_OPTIONS_CHECK_FAILED, 426 427 /** 428 * Result(2097233) for ability already running. 429 */ 430 ERR_ABILITY_ALREADY_RUNNING, 431 432 /** 433 * Native error(2097234) for not self application. 434 */ 435 ERR_NATIVE_NOT_SELF_APPLICATION, 436 437 /** 438 * Native error(2097235) for IPC parcel failed. 439 */ 440 ERR_NATIVE_IPC_PARCEL_FAILED, 441 442 /** 443 * Native error(2097236) for ability not found. 444 */ 445 ERR_NATIVE_ABILITY_NOT_FOUND, 446 447 /** 448 * Native error(2097237) for ability state check failed. 449 */ 450 ERR_NATIVE_ABILITY_STATE_CHECK_FAILED, 451 452 /** 453 * Native error(2097238) for kill process not exist. 454 */ 455 ERR_KILL_PROCESS_NOT_EXIST, 456 457 /** 458 * Native error(2097239) for start other app failed. 459 */ 460 ERR_START_OTHER_APP_FAILED, 461 462 /** 463 * Native error(2097240) for memory size state unchanged. 464 */ 465 ERR_NATIVE_MEMORY_SIZE_STATE_UNCHANGED, 466 467 /** 468 * Native error(2097241) for target bundle not exist. 469 */ 470 ERR_TARGET_BUNDLE_NOT_EXIST, 471 472 /** 473 * Native error(2097242) for get launch ability info failed. 474 */ 475 ERR_GET_LAUNCH_ABILITY_INFO_FAILED, 476 477 /** 478 * Native error(2097243) for check preload conditions failed. 479 */ 480 ERR_CHECK_PRELOAD_CONDITIONS_FAILED, 481 482 ERR_SET_SUPPORTED_PROCESS_CACHE_AGAIN, 483 484 /** 485 * Result(2097245) for size of uri list out of range. 486 */ 487 ERR_URI_LIST_OUT_OF_RANGE, 488 489 /** 490 * Native error(2097246) for not allow preload by rss. 491 */ 492 ERR_NOT_ALLOW_PRELOAD_BY_RSS, 493 494 /** 495 * Result(2097247) for get active extension list empty when record exit reason. 496 */ 497 ERR_GET_ACTIVE_EXTENSION_LIST_EMPTY, 498 499 /** 500 * Result(2097248) for get ExtensionName by uid fail. 501 */ 502 GET_EXTENSION_NAME_BY_UID_FAIL, 503 504 /** 505 * Native error(2097249) no resident process permissions set. 506 */ 507 ERR_NO_RESIDENT_PERMISSION, 508 509 /** 510 * Result(2097250) for app clone index does not exist. 511 */ 512 ERR_APP_CLONE_INDEX_INVALID, 513 514 /** 515 * Result(2097251) not support twin. 516 */ 517 ERR_MULTI_APP_NOT_SUPPORTED, 518 519 /** 520 * Result(2097252) for unlock screen failed in developer mode. 521 */ 522 ERR_UNLOCK_SCREEN_FAILED_IN_DEVELOPER_MODE, 523 524 /* 525 * Result(2097253) for block startup in lock screen. 526 */ 527 ERR_BLOCK_START_FIRST_BOOT_SCREEN_UNLOCK = 2097253, 528 529 /* 530 * Result(2097254) for extension blocked by third party app flag 531 */ 532 EXTENSION_BLOCKED_BY_THIRD_PARTY_APP_FLAG = 2097254, 533 534 /* 535 * Result(2097255) for extension blocked by service list 536 */ 537 EXTENSION_BLOCKED_BY_SERVICE_LIST = 2097255, 538 539 /* 540 * Result(2097256) for non-app-provision mode 541 */ 542 ERR_NOT_IN_APP_PROVISION_MODE = 2097256, 543 544 /* 545 * Result(2097257) for share file uri non-implicitly 546 */ 547 ERR_SHARE_FILE_URI_NON_IMPLICITLY = 2097257, 548 549 /** 550 * Native error(2097258) for target bundle not exist. 551 */ 552 ERR_BUNDLE_NOT_EXIST, 553 554 /* 555 * Result(2097259) for open link start abilty default ok. 556 */ 557 ERR_OPEN_LINK_START_ABILITY_DEFAULT_OK = 2097259, 558 559 /* 560 * Result (2097260) for target free install task does not exist. 561 */ 562 ERR_FREE_INSTALL_TASK_NOT_EXIST = 2097260, 563 564 /* 565 * Result (2097261) for killing process uid is foundation. 566 */ 567 ERR_KILL_FOUNDATION_UID = 2097261, 568 569 /* 570 * Result (2097262) caller not exists. 571 */ 572 ERR_CALLER_NOT_EXISTS = 2097262, 573 574 /* 575 * Result (2097263) Not support back to caller. 576 */ 577 ERR_NOT_SUPPORT_BACK_TO_CALLER = 2097263, 578 579 /* 580 * Result (2097264) for not support child process. 581 */ 582 ERR_NOT_SUPPORT_CHILD_PROCESS = 2097264, 583 584 /* 585 * Result (2097265) for already in child process. 586 */ 587 ERR_ALREADY_IN_CHILD_PROCESS = 2097265, 588 589 /* 590 * Result (2097266) for child process reach limit. 591 */ 592 ERR_CHILD_PROCESS_REACH_LIMIT = 2097266, 593 594 /* 595 * Result (2097268) for native child process reach limit. 596 */ 597 ERR_NOT_SUPPORT_NATIVE_CHILD_PROCESS = 2097268, 598 599 /* 600 * Result (2097269) for failed to get profile when execute insight intent. 601 */ 602 ERR_INSIGHT_INTENT_GET_PROFILE_FAILED = 2097269, 603 604 /* 605 * Result (2097278) for replying failed while executing insight intent. 606 */ 607 ERR_INSIGHT_INTENT_EXECUTE_REPLY_FAILED = 2097278, 608 609 /* 610 * Result (2097279) for get target bundle info failed. 611 */ 612 ERR_GET_TARGET_BUNDLE_INFO_FAILED = 2097279, 613 614 /** 615 * Result(2097271) not support multi-instance. 616 */ 617 ERR_MULTI_INSTANCE_NOT_SUPPORTED = 2097271, 618 619 /* 620 * Result (2097272) for not support app instance key. 621 */ 622 ERR_APP_INSTANCE_KEY_NOT_SUPPORT = 2097272, 623 624 /* 625 * Result (2097273) for reach the upper limit. 626 */ 627 ERR_UPPER_LIMIT = 2097273, 628 629 /* 630 * Result (2097274) for not support to create a new instance. 631 */ 632 ERR_CREATE_NEW_INSTANCE_NOT_SUPPORT = 2097274, 633 634 /* 635 * Result (2097275) for invalid app instance key. 636 */ 637 ERR_INVALID_APP_INSTANCE_KEY = 2097275, 638 639 /* 640 * Result (2097276) for not support app clone. 641 */ 642 ERR_NOT_SUPPORT_APP_CLONE = 2097276, 643 644 /* 645 * Result (2097277) for invalid extension type. 646 */ 647 ERR_INVALID_EXTENSION_TYPE = 2097277, 648 649 /** 650 * Native error(3000000) for target bundle not exist. 651 */ 652 ERR_CODE_NOT_EXIST = 3000000, 653 }; 654 655 enum { 656 /** 657 * Provides a list that does not contain any 658 * recent missions that currently are not available to the user. 659 */ 660 RECENT_IGNORE_UNAVAILABLE = 0x0002, 661 }; 662 663 enum NativeFreeInstallError { 664 FREE_INSTALL_OK = 0, 665 /** 666 * FA search failed. 667 */ 668 FA_FREE_INSTALL_QUERY_ERROR = -1, 669 670 /** 671 * HAG query timeout. 672 */ 673 HAG_QUERY_TIMEOUT = -4, 674 675 /** 676 * FA Network unavailable. 677 */ 678 FA_NETWORK_UNAVAILABLE = -2, 679 680 /** 681 * FA internal system error. 682 */ 683 FA_FREE_INSTALL_SERVICE_ERROR = 0x820101, 684 685 /** 686 * FA distribution center crash. 687 */ 688 FA_CRASH = 0x820102, 689 690 /** 691 * FA distribution center processing timeout(30s). 692 */ 693 FA_TIMEOUT = 0x820103, 694 695 /** 696 * BMS unknown exception. 697 */ 698 UNKNOWN_EXCEPTION = 0x820104, 699 700 /** 701 * It is not supported to pull up PA across applications on the same device 702 */ 703 NOT_SUPPORT_PA_ON_SAME_DEVICE = -11, 704 705 /** 706 * FA internal system error. 707 */ 708 FA_INTERNET_ERROR = -3, 709 710 /** 711 * The user confirms to jump to the application market upgrade. 712 */ 713 JUMP_TO_THE_APPLICATION_MARKET_UPGRADE = -8, 714 715 /** 716 * User gives up. 717 */ 718 USER_GIVES_UP = -7, 719 720 /** 721 * Installation error in free installation. 722 */ 723 INSTALLATION_ERROR_IN_FREE_INSTALL = -5, 724 725 /** 726 * HAP package download timed out. 727 */ 728 HAP_PACKAGE_DOWNLOAD_TIMED_OUT = -9, 729 730 /** 731 * There are concurrent tasks, waiting for retry. 732 */ 733 CONCURRENT_TASKS_WAITING_FOR_RETRY = -6, 734 735 /** 736 * FA package does not support free installation. 737 */ 738 FA_PACKAGE_DOES_NOT_SUPPORT_FREE_INSTALL = -10, 739 740 /** 741 * The app is not allowed to pull this FA. 742 */ 743 NOT_ALLOWED_TO_PULL_THIS_FA = -901, 744 745 /** 746 * Not support cross-device free install PA 747 */ 748 NOT_SUPPORT_CROSS_DEVICE_FREE_INSTALL_PA = -12, 749 750 /** 751 * Free install timeout 752 */ 753 FREE_INSTALL_TIMEOUT = 29360300, 754 755 /** 756 * Not top ability 757 */ 758 NOT_TOP_ABILITY = 0x500001, 759 760 /** 761 * Target bundle name is not exist in targetBundleList. 762 */ 763 TARGET_BUNDLE_NOT_EXIST = 0x500002, 764 765 /** 766 * Permission denied. 767 */ 768 DMS_PERMISSION_DENIED = 29360157, 769 770 /** 771 * Result(29360176) for component access permission check failed. 772 */ 773 DMS_COMPONENT_ACCESS_PERMISSION_DENIED = 29360176, 774 775 /** 776 * Invalid parameters. 777 */ 778 INVALID_PARAMETERS_ERR = 29360128, 779 780 /** 781 * Remote DMS is not compatible. 782 */ 783 REMOTE_DEVICE_NOT_COMPATIBLE = 502, 784 785 /** 786 * Remote service's device is offline. 787 */ 788 DEVICE_OFFLINE_ERR = 29360142, 789 790 /** 791 * Result(29360175) for account access permission check failed. 792 */ 793 DMS_ACCOUNT_ACCESS_PERMISSION_DENIED = 29360175, 794 795 /** 796 * Result(29360131) for remote invalid parameters. 797 */ 798 INVALID_REMOTE_PARAMETERS_ERR = 29360131, 799 800 /* 801 * Result(29360205) for continue freeinstall failed. 802 */ 803 CONTINUE_FREE_INSTALL_FAILED = 29360205, 804 805 /** 806 * Undefine error code. 807 */ 808 UNDEFINE_ERROR_CODE = 3, 809 }; 810 } // namespace AAFwk 811 } // namespace OHOS 812 #endif // OHOS_ABILITY_RUNTIME_ABILITY_MANAGER_ERRORS_H 813