未验证 提交 030690d0 编写于 作者: O openharmony_ci 提交者: Gitee

!13836 翻译完成:12689 errorcodes 文件夹更新更新

Merge pull request !13836 from wusongqing/TR12689
......@@ -77,7 +77,7 @@
- [Update Error Codes](errorcode-update.md)
- Customization Management
- [Enterprise Device Management Error Codes](errorcode-enterpriseDeviceManager.md)
- Language Base Class Library
- Utils
- [Utils Error Codes](errorcode-utils.md)
- Test
- [UiTest Error Codes](errorcode-uitest.md)
......@@ -4,7 +4,7 @@
**Error Message**
Input error. The specified ability name does not exist.
Incorrect Ability name. The specified Ability name does not exist.
**Description**
......@@ -23,7 +23,7 @@ The ability to query does not exist.
**Error Message**
Ability type error. The specified ability type is wrong.
Incorrect Ability type.
**Description**
......@@ -42,7 +42,7 @@ The ability with the specified type does not support the API invocation.
**Error Message**
Input error. The specified id does not exist.
Input error. The specified ID does not exist.
**Description**
......@@ -78,7 +78,7 @@ Check whether the application meets the visibility restriction of the started ap
**Error Message**
Can not cross user operations.
Cross-user operations are not allowed.
**Description**
......@@ -96,7 +96,7 @@ Do not perform a cross-user operation.
**Error Message**
Service busyness. There are concurrent tasks, waiting for retry.
Service busy, please wait and try again.
**Description**
......@@ -114,7 +114,7 @@ Try again later.
**Error Message**
Crowdtest App Expiration.
Crowdtest App Expired.
**Description**
......@@ -132,7 +132,7 @@ Check whether the crowdtesting application has expired.
**Error Message**
Can not start ability in wukong mode.
Ability cannot be started or sotpped in Wukong mode.
**Description**
......@@ -150,7 +150,7 @@ Do not start or stop an ability in Wukong mode.
**Error Message**
Can not operation with continue flag.
The call with the continuation flag is forbidden.
**Description**
......@@ -168,7 +168,7 @@ Remove the continuation flag.
**Error Message**
Context does not exist.
The context does not exist.
**Description**
......@@ -186,7 +186,7 @@ Use the correct context.
**Error Message**
Internal Error.
Internal error.
**Description**
......@@ -204,7 +204,7 @@ Ensure sufficient sytem memory.
**Error Message**
Network error. The network is abnormal.
Network error.
**Description**
......@@ -222,7 +222,7 @@ Try again later or reconnect to the network.
**Error Message**
Free install not support. The applicaiotn dose not support free install.
Installation-free is not supported.
**Description**
......@@ -240,7 +240,7 @@ Check whether the application supports installation-free.
**Error Message**
Not top ability. The application is not top ability.
The ability is not on the top of UI.
**Description**
......@@ -258,7 +258,7 @@ Ensure that the ability is displayed on the top of the UI.
**Error Message**
Free install busyness. There are concurrent tasks, waiting for retry.
Installation-free service is busy, please wait and try again later.
**Description**
......@@ -276,7 +276,7 @@ Try again later.
**Error Message**
Free install timeout.
Installation-free time out.
**Description**
......@@ -294,7 +294,7 @@ Try again later.
**Error Message**
Can not free install other ability.
Installation-free is not allowed for other applications.
**Description**
......@@ -312,7 +312,7 @@ Apply installation-free only for the current application.
**Error Message**
Not support cross device free install.
Cross-device installation-free is not supported.
**Description**
......@@ -330,7 +330,7 @@ Use installation-free on the same device.
**Error Message**
execute shell command failed.
Failed to run the shell command.
**Description**
......@@ -348,7 +348,7 @@ Use a valid shell command.
**Error Message**
Invalid wantagent object.
Invalid wantAgent object.
**Description**
......@@ -366,7 +366,7 @@ Pass a valid **wantAgent** object in the API.
**Error Message**
wantAgent object not found.
the wantAgent object does not exist.
**Description**
......@@ -384,7 +384,7 @@ Pass a valid **wantAgent** object in the API.
**Error Message**
wangAgent object canceled.
wangAgent object has been canceled.
**Description**
......@@ -402,7 +402,7 @@ Pass a valid **wantAgent** object in the API.
**Error Message**
Input error. The specified uri does not exist.
The ability with the specified URI does not exist.
**Description**
......@@ -420,7 +420,7 @@ Check the ability with the specified URI.
**Error Message**
Ability type error. The specified ability type is wrong.
Incorrect ability type.
**Description**
......@@ -428,7 +428,7 @@ This error code is reported when the ability type invoked by the API is incorrec
**Possible Causes**
The ability with the specified type does not support the API call.
The ability with the specified type does not support the API invocation.
**Solution**
......@@ -439,7 +439,7 @@ The ability with the specified type does not support the API call.
**Error Message**
Caller released. The caller has been released.
The caller has been released.
**Description**
......@@ -457,7 +457,7 @@ Register a valid caller again.
**Error Message**
Callee Invalid. The callee does not exist.
The callee does not exist.
**Description**
......@@ -493,7 +493,7 @@ Check whether the caller has registered.
**Error Message**
Method registered. The method has registered.
The method has registered.
**Description**
......@@ -511,7 +511,7 @@ Check whether the method has been registered.
**Error Message**
Method not registered. The method has not registered.
The method is not registered.
**Description**
......@@ -529,7 +529,7 @@ Check whether the method has been registered.
**Error Message**
Mission id error. The specified mission id does not exist.
The specified mission id does not exist.
**Description**
......@@ -547,7 +547,7 @@ Check the mission ID.
**Error Message**
Input error. The specified mission listener id does not exist.
The specified mission listener does not exist.
**Description**
......@@ -565,7 +565,7 @@ Check the mission listener ID.
**Error Message**
The specified bundleName is invalid.
Invalid bundle name.
**Description**
......@@ -583,7 +583,7 @@ Check whether the bundle has been installed.
**Error Message**
The specified hqf is invalid. Hqf may not exist or inaccessible.
Invalid patch package.
**Description**
......@@ -602,7 +602,7 @@ The patch package does not exist or is inaccessible.
**Error Message**
Deploy hqf failed.
Failed to deploy the patch.
**Description**
......@@ -626,7 +626,7 @@ Check whether the patch package complies with the deployment rules.
**Error Message**
Switch hqf failed.
Failed to enable the patch package.
**Description**
......@@ -644,7 +644,7 @@ Check the state of the patch package.
**Error Message**
Delete hqf failed.
Failed to enable the patch package.
**Description**
......@@ -662,7 +662,7 @@ Check the state of the patch package.
**Error Message**
Load patch failed.
Failed to load the patch.
**Description**
......@@ -680,7 +680,7 @@ Check whether the patch package is correct.
**Error Message**
Unload patch failed.
Failed to unload the patch.
**Description**
......@@ -702,7 +702,7 @@ Internal error.
**Description**
This error code is returned when an error occurs during internal processing, such as memory application or multi-thread processing.
This error code is reported when an error occurs during internal processing, such as memory application or multi-thread processing.
**Possible Causes**
......@@ -710,4 +710,4 @@ Common kernel errors such as memory application and multi-thread processing erro
**Solution**
Ensure sufficient system memory.
Ensure sufficient sytem memory.
......@@ -71,7 +71,6 @@ Continuous task verification failed.
2. The application repeatedly cancels a continuous task.
3. The value of **bgMode** is invalid because no continuous task type is configured for **backgroundModes** in the application's configuration file.
4. A non-PC device requests the continuous task **KEEPING_TASK**, which is available only for PCs.
5. A third-party application requests the continuous task **WIFI_INTERACTION** or **VOIP**, which is available only for system applications.
**Solution**
......
......@@ -9,6 +9,7 @@ The specified bundle name is not found.
When a query API is called, the bundle name passed in does not exist.
**Possible Causes**
1. The bundle name is misspelled.
2. The corresponding bundle is not installed.
......@@ -42,11 +43,11 @@ When a query API is called, the ability name passed in does not exist.
**Possible Causes**
1. The ability name is misspelled.
2. The corresponding bundle is not installed.
2. The application does not have the ability specified by **abilityName**.
**Solution**
1. Check whether the spelling of the ability name is correct.
2. Check whether the ability is installed.
2. Check whether the application has the ability specified by **abilityName**.
## 17700004 User ID Does Not Exist
......@@ -57,16 +58,17 @@ The specified user ID is not found.
When a user-related API is called, the user ID passed in does not exist.
**Possible Causes**
The user ID is incorrect. The user does not exist.
1. Incorrect username.
2. The user does not exist in the system.
**Solution**
1. Check whether the user ID is correct.
2. Check whether the user exists.
## 17700005 Application ID Does Not Exist
## 17700005 appId Is an Empty String
**Error Message**
The specified app ID is not found.
The specified app ID is empty string.
**Description**
When an API of the **appControl** module is called, the application ID passed in does not exist.
......@@ -124,7 +126,7 @@ When the **install** API of the **installer** module is called, the HAP passed i
**Solution**
1. Check whether the HAP is in ZIP format.
2. Check whether the configuration file is in [JSON format](../../quick-start/stage-structure.md).
2. Check whether the configuration file is in [JSON format](../../quick-start/application-configuration-file-overview-stage.md).
3. Check whether an error message is displayed when DevEco Studio compiles the HAP. If necessary fields are missing, an error message will be displayed.
## 17700011 Bundle Installation Failure Due to Signature Verification Failure
......@@ -144,8 +146,9 @@ Calling the **install** API of the **installer** module to install the bundle fa
**Solution**
1. Check whether the HAP is signed.
2. Check whether the same certificate is used for signing multiple HAPs.
3. Check whether the certificate used for signing the upgrade HAP is the same as the certificate used for signing the installed HAP.
2. Ensure that the signature certificate of the HAP is applied for from the application market.
3. Check whether the same certificate is used for signing multiple HAPs.
4. Check whether the certificate used for signing the upgrade HAP is the same as the certificate used for signing the installed HAP.
## 17700012 Bundle Installation Failure Due to Invalid File Path or Too Large File
......@@ -165,7 +168,7 @@ Calling the **install** API of the **installer** module to install the bundle fa
2. Check whether the HAP is read only or executable.
3. Check whether the size of the HAP exceeds 4 GB.
## 17700015 Bundle Installation Failure Due to Different Configuration Information of Multiple HAP Packages
## 17700015 Bundle Installation Failure Due to Different Configuration Information of Multiple HAPs
**Error Message**
Failed to install the HAPs because they have different configuration information.
......@@ -205,7 +208,7 @@ Calling the **install** API of the **installer** module to install the bundle fa
The version number is earlier than the version in use.
**Solution**
Ensure that the version of the bundle to install is later than the version in use.
Ensure that the version of the bundle to install is not earlier than the version in use.
## 17700020 Failure to Uninstall Preinstalled Applications
......@@ -298,7 +301,8 @@ When an API of the **defaultAppManager** module is called, the type passed in is
2. The type passed in the API does not exist.
**Solution**
Check whether the spelling of type is correct.
1. Check whether the spelling of type is correct.
2. Enter a type that exists.
## 17700026 Bundle Disabled
......@@ -368,4 +372,6 @@ The application is a system application and the **AllowAppDataNotCleared** field
**Solution**
1. Check whether the application is a system application. You can run the [bm commands](../../../readme/bundle-management.md#bm-commands) to query the application information and check whether the value of **isSystemApp** is **true**.
2. Check whether the **AllowAppDataNotCleared** field is configured for the application. You can run the [bm commands](../../../readme/bundle-management.md#bm-commands) to query the application information and check whether the value of **userDataClearable** is **true**.
2. Check whether the **AllowAppDataNotCleared field** is configured for the application. You can run the [bm commands](../../../readme/bundle-management.md#bm-commands) to query the application information and check whether the value of **userDataClearable** is **true**.
<!--no_check-->
......@@ -219,3 +219,57 @@ The buffer is read-only.
**Solution**
Do not set the read-only attribute for the buffer.
## 10200014 Non-Concurrent Function Error
**Error Message**
The function is not mark as concurrent.
**Description**
The function is not marked as **concurrent**.
**Possible Causes**
**@Concurrent** is not added to the function required by the task to be executed in the task pool.
**Solution**
Check the functions required by the tasks executed by the task pool and add the **@Concurrent** decorator.
## 10200015 Failed to Cancel a Task That Does Not Exist
**Error Message**
The task is not exist when cancel it.
**Description**
This error code is reported when you attempt to cancel a task that does not exist.
**Possible Causes**
The task to cancel does not exist in the task pool.
**Solution**
Before canceling a task, ensure that the task is placed into the task pool by calling **taskpool.execute**.
## 10200016 Failed to Cancel a Task Being Executed
**Error Message**
The task is running when cancel it.
**Description**
This error code is reported when you attempt to cancel a task that is being executed.
**Possible Causes**
The task to cancel is being executed.
**Solution**
Before canceling a task, ensure that the task finishes execution.
......@@ -8,11 +8,11 @@ The input source file is invalid.
**Description**
This error code is reported when the source file passed in the **compress** or **decompress** API is invalid.
This error code is reported when the source file passed in the **compressFile()** or **decompressFile()** API is invalid.
**Possible Causes**
When the **compress** API is called, the file to compress does not exist. When the **decompress** API is called, the file to decompress does not exist.
When the **compressFile()** API is called, the file to compress does not exist. When the **decompressFile()** API is called, the file to decompress does not exist.
**Solution**
......@@ -27,12 +27,12 @@ The input destination file is invalid.
**Description**
This error code is reported when the destination file passed in the **compress** or **decompress** API is invalid.
This error code is reported when the destination file passed in the **compressFile()** or **decompressFile()** API is invalid.
**Possible Causes**
1. When the **compress** API is called, the passed destination file path is invalid, for example, a non-exist sandbox path.
2. When the **decompress** API is called, the destination folder does not exist.
1. When the **compressFile()** API is called, the passed destination file path is invalid, for example, a non-exist sandbox path.
2. When the **decompressFile()** API is called, the destination folder does not exist.
**Solution**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册