Skip to content
Myr

Link to the actual exception references

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Sphinx has a neat cross-referencing feature where if you include the tilde character in front of a :py: class, it'll link to the full object but provide only the last part of class name in the text. For more info see http://sphinx-doc.org/domains.html#cross-referencing-syntax

authored by Kevin Burke · committed by Kevin Burke · parent df935f5 · Browse files · 1 file+6 added−5 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+6 added−5 removed

  • other:+6 added−5 removed

1 file+6 added−5 removed

modified:docs/user/quickstart.rst+6 added-5 removed
397 unmodified lines
398Errors and Exceptions399---------------------400401In the event of a network problem (e.g. DNS failure, refused connection, etc),402Requests will raise a :class:`ConnectionError` exception.402Requests will raise a :class:`~requests.exceptions.ConnectionError` exception.403404In the event of the rare invalid HTTP response, Requests will raise405an :class:`HTTPError` exception.404In the event of the rare invalid HTTP response, Requests will raise an405:class:`~requests.exceptions.HTTPError` exception.406407If a request times out, a :class:`Timeout` exception is raised.407If a request times out, a :class:`~requests.exceptions.Timeout` exception is408raised.409410If a request exceeds the configured number of maximum redirections, a410:class:`TooManyRedirects` exception is raised.411:class:`~requests.exceptions.TooManyRedirects` exception is raised.412413All exceptions that Requests explicitly raises inherit from414:class:`requests.exceptions.RequestException`.415
3 unmodified lines