diff --git a/docs/docs/how-tos/node-retries.ipynb b/docs/docs/how-tos/node-retries.ipynb index 929b76984..3616297c9 100644 --- a/docs/docs/how-tos/node-retries.ipynb +++ b/docs/docs/how-tos/node-retries.ipynb @@ -82,6 +82,28 @@ "RetryPolicy()" ] }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "By default, the `retry_on` parameter uses the `default_retry_on` function, which retries on any exception except for the following:\n", + "\n", + "* `ValueError`\n", + "* `TypeError`\n", + "* `ArithmeticError`\n", + "* `ImportError`\n", + "* `LookupError`\n", + "* `NameError`\n", + "* `SyntaxError`\n", + "* `RuntimeError`\n", + "* `ReferenceError`\n", + "* `StopIteration`\n", + "* `StopAsyncIteration`\n", + "* `OSError`\n", + "\n", + "In addition, for exceptions from popular http request libraries such as `requests` and `httpx` it only retries on 5xx status codes." + ] + }, { "cell_type": "markdown", "metadata": {},