diff options
| author | Chris McDonough <chrism@agendaless.com> | 2010-09-12 12:52:54 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2010-09-12 12:52:54 +0000 |
| commit | 239a93313a3af9a29ab1e09e54ba970e369a11f2 (patch) | |
| tree | b5d3acc6412f905ccbd9334d3d4aefe3c824bc96 /docs | |
| parent | 8cba7994ab5ddf9b4874b03fca68fddb666f3380 (diff) | |
| download | pyramid-239a93313a3af9a29ab1e09e54ba970e369a11f2.tar.gz pyramid-239a93313a3af9a29ab1e09e54ba970e369a11f2.tar.bz2 pyramid-239a93313a3af9a29ab1e09e54ba970e369a11f2.zip | |
put exception view in glossary
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/glossary.rst | 25 |
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, |
