Skip to content

Commit 98d4fed

Browse files
Document numeric-string status handling in retry classification
Co-authored-by: Shri Sukhani <shrisukhani@users.noreply.github.com>
1 parent 68fc9eb commit 98d4fed

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎README.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ Polling callback contracts are also validated:
142142
- Sync polling helpers require non-awaitable callback return values.
143143
- Async polling helpers require awaitable status/page/retry callbacks.
144144
- Polling retries skip non-retryable API client errors (HTTP `4xx`, except retryable `408` request-timeout and `429` rate-limit responses).
145+
- Retry classification accepts integer and numeric-string HTTP status codes when evaluating retryability.
145146
- SDK timeout/polling exceptions (`HyperbrowserTimeoutError`, `HyperbrowserPollingError`) are treated as non-retryable and are surfaced immediately.
146147
- Cancellation exceptions are treated as non-retryable and are surfaced immediately.
147148
- Broken executor errors are treated as non-retryable and are surfaced immediately.

0 commit comments

Comments
 (0)