Skip to content

Commit 664f432

Browse files
committed
Update understanding-error-codes.md
1 parent 6a88c22 commit 664f432

File tree

1 file changed

+5
-1
lines changed
  • articles/communication-services/resources/troubleshooting/voice-video-calling/general-troubleshooting-strategies

1 file changed

+5
-1
lines changed

articles/communication-services/resources/troubleshooting/voice-video-calling/general-troubleshooting-strategies/understanding-error-codes.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@ ms.subservice: calling
1717
The ACS Calling SDK uses a unified framework to represent errors.
1818
Through error codes, subcodes, and result categories, you can more easily handle errors and find corresponding explanations.
1919

20-
If the `resultCategories` is `ExpectedError`, it typically means that the error is expected from the SDK's perspective.
20+
## resultCategories
21+
22+
The `resultCategories` indicates the type of the error. Depending on the context, the value can be `ExpectedError`, `UnexpectedClientError`, or `UnexpectedServerError`.
23+
24+
For client errors, if the `resultCategories` is `ExpectedError`, it typically means that the error is expected from the SDK's perspective.
2125
Such errors are commonly encountered in precondition failures, such as incorrect arguments passed by the app,
2226
or when the current system state doesn't allow the API call.
2327
The application should check the error reason and the logic for invoking API.

0 commit comments

Comments
 (0)