From a509079ce07c6cf54fe1f5a3118946e4d753f7c4 Mon Sep 17 00:00:00 2001 From: Gloria Date: Tue, 14 Mar 2023 20:30:30 +0800 Subject: [PATCH] Update docs against 15484+15617 Signed-off-by: wusongqing --- en/application-dev/ability-deprecated/context-userguide.md | 6 +++--- en/application-dev/reference/apis/js-apis-faultLogger.md | 4 ++-- .../reference/errorcodes/errorcode-faultlogger.md | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/en/application-dev/ability-deprecated/context-userguide.md b/en/application-dev/ability-deprecated/context-userguide.md index 1340e72918..79cae1da56 100644 --- a/en/application-dev/ability-deprecated/context-userguide.md +++ b/en/application-dev/ability-deprecated/context-userguide.md @@ -250,9 +250,9 @@ In the stage model, in the onWindowStageCreate lifecycle of an ability, you can Use the API described in the table below to obtain the context associated with an ArkTS page. -| API | Description | -| :------------------------------------ | :--------------------------- | -| getContext(component: Object): Object | Obtains the **Context** object associated with a component on the page.| +| API | Description | +| :------------------------------------ | :----------------------------------------------------------- | +| getContext(component: Object): Object | Obtains the **Context** object associated with a component on the page.
Since API version 9, this API is supported in ArkTS widgets.| **Example** diff --git a/en/application-dev/reference/apis/js-apis-faultLogger.md b/en/application-dev/reference/apis/js-apis-faultLogger.md index dba3fb3f36..ea9be4cbb8 100644 --- a/en/application-dev/reference/apis/js-apis-faultLogger.md +++ b/en/application-dev/reference/apis/js-apis-faultLogger.md @@ -148,7 +148,7 @@ For details about the error codes, see [FaultLogger Error Codes](../errorcodes/e | ID| Error Message| | --- | --- | -| 10600001 | The service is not running or broken | +| 10600001 | The service is not started or is faulty | **Example** @@ -205,7 +205,7 @@ For details about the error codes, see [FaultLogger Error Codes](../errorcodes/e | ID| Error Message| | --- | --- | -| 10600001 | The service is not running or broken | +| 10600001 | The service is not started or is faulty | **Example** diff --git a/en/application-dev/reference/errorcodes/errorcode-faultlogger.md b/en/application-dev/reference/errorcodes/errorcode-faultlogger.md index 9279760c6e..303a61f8fc 100644 --- a/en/application-dev/reference/errorcodes/errorcode-faultlogger.md +++ b/en/application-dev/reference/errorcodes/errorcode-faultlogger.md @@ -4,11 +4,11 @@ **Error Message** -The service is not running or broken. +The service is not started or is faulty. **Description** -This error code is reported when the service is not started or is faulty. +This error code is reported when the service is not started or an unknown error occurs. **Possible Causes** -- GitLab