From faafe0abc6936d7055c2a0f627f5b86c8d0089de Mon Sep 17 00:00:00 2001 From: shawn_he Date: Tue, 5 Jul 2022 14:27:37 +0800 Subject: [PATCH] update doc Signed-off-by: shawn_he --- en/application-dev/dfx/errormanager-guidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/application-dev/dfx/errormanager-guidelines.md b/en/application-dev/dfx/errormanager-guidelines.md index 1cd2a39573..835a6ab9ce 100644 --- a/en/application-dev/dfx/errormanager-guidelines.md +++ b/en/application-dev/dfx/errormanager-guidelines.md @@ -16,7 +16,7 @@ Application error management APIs are provided by the **errorManager** module. F | unregisterErrorObserver(observerId: number, callback: AsyncCallback\): void | Unregisters an observer in callback mode. The number passed to this API is the SN of the registered observer. | | unregisterErrorObserver(observerId: number): Promise\ | Unregisters an observer in promise mode. The number passed to this API is the SN of the registered observer. | -When an asynchronous callback is used, the return value can be processed directly in the callback. If a promise is used, the return value can also be processed in the promise in a similar way. For details about the result codes, see [Result Codes for Unregistering an Observer](#result codes-for-unregistering-an-observer). +When an asynchronous callback is used, the return value can be processed directly in the callback. If a promise is used, the return value can also be processed in the promise in a similar way. For details about the result codes, see [Result Codes for Unregistering an Observer](#result-codes-for-unregistering-an-observer). **Table 2** Description of the ErrorObserver API -- GitLab