From 239a93313a3af9a29ab1e09e54ba970e369a11f2 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 12 Sep 2010 12:52:54 +0000 Subject: put exception view in glossary --- docs/glossary.rst | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) (limited to 'docs') 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, -- cgit v1.2.3