summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2010-09-12 12:52:54 +0000
committerChris McDonough <chrism@agendaless.com>2010-09-12 12:52:54 +0000
commit239a93313a3af9a29ab1e09e54ba970e369a11f2 (patch)
treeb5d3acc6412f905ccbd9334d3d4aefe3c824bc96 /docs
parent8cba7994ab5ddf9b4874b03fca68fddb666f3380 (diff)
downloadpyramid-239a93313a3af9a29ab1e09e54ba970e369a11f2.tar.gz
pyramid-239a93313a3af9a29ab1e09e54ba970e369a11f2.tar.bz2
pyramid-239a93313a3af9a29ab1e09e54ba970e369a11f2.zip
put exception view in glossary
Diffstat (limited to 'docs')
-rw-r--r--docs/glossary.rst25
1 files changed, 15 insertions, 10 deletions
diff --git a/docs/glossary.rst b/docs/glossary.rst
index 4c1c0ebab..a703f187c 100644
--- a/docs/glossary.rst
+++ b/docs/glossary.rst
@@ -586,26 +586,31 @@ Glossary
a set of :term:`configuration declaration` statements.
Not Found view
- The :term:`view callable` invoked by :mod:`repoze.bfg` when the
- developer explicitly raises a
- ``repoze.bfg.exceptions.NotFound`` exception from within
- :term:`view` code or :term:`root factory` code, or when the
- current request doesn't match any :term:`view configuration`.
- :mod:`repoze.bfg` provides a default implementation of a not
- found view; it can be overridden. See
+ An :term:`exception view` invoked by :mod:`repoze.bfg` when the
+ developer explicitly raises a ``repoze.bfg.exceptions.NotFound``
+ exception from within :term:`view` code or :term:`root factory`
+ code, or when the current request doesn't match any :term:`view
+ configuration`. :mod:`repoze.bfg` provides a default
+ implementation of a not found view; it can be overridden. See
:ref:`changing_the_notfound_view`.
Forbidden view
- The :term:`view callable` invoked by :mod:`repoze.bfg` when the
+ An :term:`exception view` invoked by :mod:`repoze.bfg` when the
developer explicitly raises a
``repoze.bfg.exceptions.Forbidden`` exception from within
:term:`view` code or :term:`root factory` code, or when the
- :term:`view configuration` and :term:`authorization policy` found
- for a request disallows a particular view invocation.
+ :term:`view configuration` and :term:`authorization policy`
+ found for a request disallows a particular view invocation.
:mod:`repoze.bfg` provides a default implementation of a
forbidden view; it can be overridden. See
:ref:`changing_the_forbidden_view`.
+ Exception view
+ An exception view is a :term:`view callable` which may be
+ invoked by :mod:`repoze.bfg` when an exception is raised during
+ request processing. See :ref:`exception_views` for more
+ information.
+
thread local
A thread-local variable is one which is essentially a global
variable in terms of how it is accessed and treated, however,