Skip to content

Commit 3a4c462

Browse files
committed
Alexey review edits
1 parent 20be284 commit 3a4c462

File tree

1 file changed

+25
-12
lines changed

1 file changed

+25
-12
lines changed

articles/azure-functions/functions-bindings-error-pages.md

Lines changed: 25 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Azure Functions integrates with Application Insights to collect error data, perf
3333

3434
### Use structured error handling
3535

36-
Capturing and logging errors is critical to monitoring the health of your application. The top-most level of any function code should include a try/catch block. In the catch block, you can capture and log errors.
36+
Capturing and logging errors is critical to monitoring the health of your application. The top-most level of any function code should include a try/catch block. In the catch block, you can capture and log errors. For information about what errors might be raised by bindings, see [Binding error codes](#binding-error-codes).
3737

3838
### Plan your retry strategy
3939

@@ -47,17 +47,16 @@ The occurrence of errors when processing data can be a problem for your function
4747

4848
There are two kinds of retries available for your functions: built-in retry behaviors of individual trigger extensions and retry policies. The following table indicates which triggers support retries and where the retry behavior is configured. It also links to more information about errors coming from the underlying services.
4949

50-
| Trigger/binding | Retry source | Configuration | Error info |
51-
| ---- | ---- | ----- | ---- |
52-
| Azure Cosmos DB | [Binding extension](functions-bindings-cosmosdb-v2.md) | Not configurable |[Error codes](/rest/api/cosmos-db/http-status-codes-for-cosmosdb) |
53-
| Blob Storage | [Binding extension](functions-bindings-storage-blob-trigger.md#poison-blobs) | [host.json](functions-bindings-storage-queue.md#host-json) | [Error codes](functions-bindings-storage-blob-output.md#exceptions-and-return-codes) |
54-
| Event Grid | [Binding extension](../event-grid/delivery-and-retry.md) | Event subscription | [Error codes](../event-grid/troubleshoot-errors.md) |
55-
| Event Hubs/IoT Hubs | [Retry policies](#retry-policies) | Function-level | [Error codes](functions-bindings-event-hubs-output.md#exceptions-and-return-codes) |
56-
| Queue Storage | [Binding extension](functions-bindings-storage-queue-trigger.md#poison-messages) | [host.json](functions-bindings-storage-queue.md#host-json) | [Error codes](functions-bindings-storage-queue-output.md#exceptions-and-return-codes) |
57-
| RabbitMQ | [Binding extension](functions-bindings-rabbitmq-trigger.md#dead-letter-queues) | [Dead letter queue](https://www.rabbitmq.com/dlx.html) | n/a |
58-
| Service Bus | [Binding extension](../service-bus-messaging/service-bus-dead-letter-queues.md) | [Dead letter queue](/service-bus-messaging/service-bus-dead-letter-queues.md#maximum-delivery-count) | [Error codes](functions-bindings-service-bus-output.md#exceptions-and-return-codes) |
59-
|Table Storage | n/a | n/a | [Error codes](functions-bindings-storage-table-output.md#exceptions-and-return-codes) |
60-
|Timer | [Retry policies](#retry-policies) | Function-level | n/a |
50+
| Trigger/binding | Retry source | Configuration |
51+
| ---- | ---- | ----- |
52+
| Azure Cosmos DB | n/a | Not configurable |
53+
| Blob Storage | [Binding extension](functions-bindings-storage-blob-trigger.md#poison-blobs) | [host.json](functions-bindings-storage-queue.md#host-json) |
54+
| Event Grid | [Binding extension](../event-grid/delivery-and-retry.md) | Event subscription |
55+
| Event Hubs | [Retry policies](#retry-policies) | Function-level |
56+
| Queue Storage | [Binding extension](functions-bindings-storage-queue-trigger.md#poison-messages) | [host.json](functions-bindings-storage-queue.md#host-json) |
57+
| RabbitMQ | [Binding extension](functions-bindings-rabbitmq-trigger.md#dead-letter-queues) | [Dead letter queue](https://www.rabbitmq.com/dlx.html) |
58+
| Service Bus | [Binding extension](../service-bus-messaging/service-bus-dead-letter-queues.md) | [Dead letter queue](/service-bus-messaging/service-bus-dead-letter-queues.md#maximum-delivery-count) |
59+
|Timer | [Retry policies](#retry-policies) | Function-level |
6160

6261
### Retry policies
6362

@@ -299,6 +298,20 @@ public void run(
299298

300299
::: zone-end
301300

301+
## Binding error codes
302+
303+
When integrating with Azure services, errors may originate from the APIs of the underlying services. Information relating to binding-specific errors is available in the **Exceptions and return codes** section of the following articles:
304+
305+
+ [Azure Cosmos DB](/rest/api/cosmos-db/http-status-codes-for-cosmosdb)
306+
+ [Blob storage](functions-bindings-storage-blob-output.md#exceptions-and-return-codes)
307+
+ [Event Grid](../event-grid/troubleshoot-errors.md)
308+
+ [Event Hubs](functions-bindings-event-hubs-output.md#exceptions-and-return-codes)
309+
+ [IoT Hubs](functions-bindings-event-iot-output.md#exceptions-and-return-codes)
310+
+ [Notification Hubs](functions-bindings-notification-hubs.md#exceptions-and-return-codes)
311+
+ [Queue storage](functions-bindings-storage-queue-output.md#exceptions-and-return-codes)
312+
+ [Service Bus](functions-bindings-service-bus-output.md#exceptions-and-return-codes)
313+
+ [Table storage](functions-bindings-storage-table-output.md#exceptions-and-return-codes)
314+
302315
## Next steps
303316

304317
+ [Azure Functions triggers and bindings concepts](functions-triggers-bindings.md)

0 commit comments

Comments
 (0)