From 6933e9b70f97f7a3161d806bb8e17315efcc287d Mon Sep 17 00:00:00 2001 From: Tijmen Brommet Date: Tue, 4 Jun 2024 12:34:03 +0200 Subject: [PATCH] Add `TooManyRequestsError` (429) to error docs (#1565) --- docs/middleware/included/raising-errors.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/middleware/included/raising-errors.md b/docs/middleware/included/raising-errors.md index 2f3214e50..3b82130c8 100644 --- a/docs/middleware/included/raising-errors.md +++ b/docs/middleware/included/raising-errors.md @@ -39,6 +39,7 @@ by the client. They raise error classes inheriting from `Faraday::ClientError`. | [408](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408) | `Faraday::RequestTimeoutError` | | [409](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/409) | `Faraday::ConflictError` | | [422](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/422) | `Faraday::UnprocessableEntityError` | +| [429](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429) | `Faraday::TooManyRequestsError` | | 4xx (any other) | `Faraday::ClientError` | ## 5xx Errors