From aa39fb0c80f3b5aeb82785288bf351ddae7c4ed5 Mon Sep 17 00:00:00 2001 From: Bryan Helmig Date: Thu, 5 Jan 2012 14:11:19 -0600 Subject: [PATCH] mention of error modes in quickstart --- docs/user/quickstart.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/user/quickstart.rst b/docs/user/quickstart.rst index 3474117..551d0c3 100644 --- a/docs/user/quickstart.rst +++ b/docs/user/quickstart.rst @@ -364,6 +364,10 @@ If a request exceeds the configured number of maximum redirections, a :class:`To All exceptions that Requests explicitly raises inherit from :class:`requests.exceptions.RequestException`. +You can refer to :ref:`Configuration API Docs ` for immediate raising of :class:`HTTPError` exceptions +via the ``danger_mode`` option or have Requests catch the majority of :class:`requests.exceptions.RequestException` exceptions +with the ``safe_mode`` option. + ----------------------- Ready for more? Check out the :ref:`advanced ` section. -- 2.34.1