summaryrefslogtreecommitdiff
path: root/docs/source/hooks.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/source/hooks.rst')
-rw-r--r--docs/source/hooks.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/source/hooks.rst b/docs/source/hooks.rst
index 3185355..b7c01ce 100644
--- a/docs/source/hooks.rst
+++ b/docs/source/hooks.rst
@@ -46,8 +46,10 @@ object which includes useful information, such as
the request and response objects, and which controller was selected by
Pecan's routing.
-:func:`on_error` is passed a shared state object **and** the original exception.
-
+:func:`on_error` is passed a shared state object **and** the original exception. If
+an :func:`on_error` handler returns a Response object, this response will be returned
+to the end user and no furthur :func:`on_error` hooks will be executed.
+
Attaching Hooks
---------------