harmony 鸿蒙ability_runtime_common.h
ability_runtime_common.h
Overview
The ability_runtime_common.h file declares the error codes of the ability framework.
Library: libability_runtime.so
System capability: SystemCapability.Ability.AbilityRuntime.Core
Since: 13
Related module: AbilityRuntime
Summary
Files
Name | Description |
---|---|
ability_runtime_common.h | Declares error codes related to the ability framework. File to include: Library: libability_runtime.so |
Enums
Name | Description |
---|---|
AbilityRuntime_ErrorCode { ABILITY_RUNTIME_ERROR_CODE_NO_ERROR = 0, ABILITY_RUNTIME_ERROR_CODE_PERMISSION_DENIED = 201, ABILITY_RUNTIME_ERROR_CODE_PARAM_INVALID = 401, ABILITY_RUNTIME_ERROR_CODE_NOT_SUPPORTED = 801, ABILITY_RUNTIME_ERROR_CODE_NO_SUCH_ABILITY = 16000001, ABILITY_RUNTIME_ERROR_CODE_INCORRECT_ABILITY_TYPE = 16000002, ABILITY_RUNTIME_ERROR_CODE_CROWDTEST_EXPIRED = 16000008, ABILITY_RUNTIME_ERROR_CODE_WUKONG_MODE = 16000009, ABILITY_RUNTIME_ERROR_CODE_CONTEXT_NOT_EXIST = 16000011, ABILITY_RUNTIME_ERROR_CODE_CONTROLLED = 16000012, ABILITY_RUNTIME_ERROR_CODE_EDM_CONTROLLED = 16000013, ABILITY_RUNTIME_ERROR_CODE_CROSS_APP = 16000018, ABILITY_RUNTIME_ERROR_CODE_INTERNAL = 16000050, ABILITY_RUNTIME_ERROR_CODE_NOT_TOP_ABILITY = 16000053, ABILITY_RUNTIME_ERROR_VISIBILITY_SETTING_DISABLED = 16000067, ABILITY_RUNTIME_ERROR_CODE_MULTI_APP_NOT_SUPPORTED = 16000072, ABILITY_RUNTIME_ERROR_CODE_INVALID_APP_INSTANCE_KEY = 16000076, ABILITY_RUNTIME_ERROR_CODE_UPPER_LIMIT_REACHED = 16000077, ABILITY_RUNTIME_ERROR_MULTI_INSTANCE_NOT_SUPPORTED = 16000078, ABILITY_RUNTIME_ERROR_CODE_APP_INSTANCE_KEY_NOT_SUPPORTED = 16000079 } |
Enumerates the error codes used by the ability framework. |
你可能感兴趣的鸿蒙文章
harmony 鸿蒙AbilityAccessControl
harmony 鸿蒙OH_NativeBundle_ApplicationInfo
harmony 鸿蒙OH_NativeBundle_ElementName
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦