Skip to content

Commit f6465c0

Browse files
jackdesertjd
andauthored
Show All Exception Predicates in Docs (#332)
Co-authored-by: Jack Desert <jack.desert> Co-authored-by: Julien Danjou <[email protected]>
1 parent da1bfc9 commit f6465c0

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

doc/source/index.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,21 @@ We can also use the result of the function to alter the behavior of retrying.
230230
def might_return_none():
231231
print("Retry with no wait if return value is None")
232232

233+
See also these methods:
234+
235+
.. testcode::
236+
237+
retry_if_exception
238+
retry_if_exception_type
239+
retry_if_not_exception_type
240+
retry_unless_exception_type
241+
retry_if_result
242+
retry_if_not_result
243+
retry_if_exception_message
244+
retry_if_not_exception_message
245+
retry_any
246+
retry_all
247+
233248
We can also combine several conditions:
234249

235250
.. testcode::

0 commit comments

Comments
 (0)