Skip to content

Commit 06bc1b4

Browse files
authored
Merge pull request MicrosoftDocs#28810 from changeworld/patch-3
Change to not translate unique names
2 parents 223c9ac + e6cb85e commit 06bc1b4

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

articles/api-management/api-management-error-handling-policies.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -73,15 +73,15 @@ The `on-error` policy section can be used at any scope. API publishers can confi
7373

7474
When an error occurs and control jumps to the `on-error` policy section, the error is stored in [context.LastError](api-management-policy-expressions.md#ContextVariables) property, which can be accessed by policies in the `on-error` section. LastError has the following properties.
7575

76-
| Name | Type | Description | Required |
77-
|----------|--------|-----------------------------------------------------------------------------------------------------------|----------|
78-
| Source | string | Names the element where the error occurred. Could be either policy or a built-in pipeline step name. | Yes |
79-
| Reason | string | Machine-friendly error code, which could be used in error handling. | No |
80-
| Message | string | Human-readable error description. | Yes |
81-
| Scope | string | Name of the scope where the error occurred and could be one of "global", "product", "api", or "operation" | No |
82-
| Section | string | Section name where error occurred. Possible values: "inbound", "backend", "outbound", or "on-error". | No |
83-
| Path | string | Specifies nested policy, for example "choose[3]/when[2]". | No |
84-
| PolicyId | string | Value of the `id` attribute, if specified by the customer, on the policy where error occurred | No |
76+
| Name | Type | Description | Required |
77+
|------------|--------|-----------------------------------------------------------------------------------------------------------|----------|
78+
| `Source` | string | Names the element where the error occurred. Could be either policy or a built-in pipeline step name. | Yes |
79+
| `Reason` | string | Machine-friendly error code, which could be used in error handling. | No |
80+
| `Message` | string | Human-readable error description. | Yes |
81+
| `Scope` | string | Name of the scope where the error occurred and could be one of "global", "product", "api", or "operation" | No |
82+
| `Section` | string | Section name where error occurred. Possible values: "inbound", "backend", "outbound", or "on-error". | No |
83+
| `Path` | string | Specifies nested policy, for example "choose[3]/when[2]". | No |
84+
| `PolicyId` | string | Value of the `id` attribute, if specified by the customer, on the policy where error occurred | No |
8585

8686
> [!TIP]
8787
> You can access the status code through context.Response.StatusCode.
@@ -177,4 +177,4 @@ For more information working with policies, see:
177177
+ [Policies in API Management](api-management-howto-policies.md)
178178
+ [Transform APIs](transform-api.md)
179179
+ [Policy Reference](api-management-policy-reference.md) for a full list of policy statements and their settings
180-
+ [Policy samples](policy-samples.md)
180+
+ [Policy samples](policy-samples.md)

0 commit comments

Comments
 (0)