summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-12-24 00:56:35 +0000
committerChris McDonough <chrism@agendaless.com>2009-12-24 00:56:35 +0000
commit18e5d6c8fe922bf23ccbd481d60de294d7671103 (patch)
tree4514f9919960759c3aed28e47132d0d6cca6251a
parent64004427ee3eefa3901330a8efdd68fd3344d97d (diff)
downloadpyramid-18e5d6c8fe922bf23ccbd481d60de294d7671103.tar.gz
pyramid-18e5d6c8fe922bf23ccbd481d60de294d7671103.tar.bz2
pyramid-18e5d6c8fe922bf23ccbd481d60de294d7671103.zip
Roles.
-rw-r--r--repoze/bfg/exceptions.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/repoze/bfg/exceptions.py b/repoze/bfg/exceptions.py
index a5e4755f5..a50da36b2 100644
--- a/repoze/bfg/exceptions.py
+++ b/repoze/bfg/exceptions.py
@@ -3,9 +3,9 @@ from zope.configuration.exceptions import ConfigurationError as ZCE
class Forbidden(Exception):
"""\
Raise this exception within :term:`view` code to immediately
- return the Forbidden view to the invoking user. Usually this is a
- basic ``401`` page, but the Forbidden view can be customized as
- necessary. See :ref:`changing_the_forbidden_view`.
+ return the :term:`forbidden view` to the invoking user. Usually
+ this is a basic ``401`` page, but the forbidden view can be
+ customized as necessary. See :ref:`changing_the_forbidden_view`.
This exception's constructor accepts a single positional argument,
which should be a string. The value of this string will be placed
@@ -15,9 +15,9 @@ class Forbidden(Exception):
class NotFound(Exception):
"""\
Raise this exception within :term:`view` code to immediately
- return the Not Found view to the invoking user. Usually this is a
- basic ``404`` page, but the Not Found view can be customized as
- necessary. See :ref:`changing_the_notfound_view`.
+ return the :term:`Not Found view` to the invoking user. Usually
+ this is a basic ``404`` page, but the Not Found view can be
+ customized as necessary. See :ref:`changing_the_notfound_view`.
This exception's constructor accepts a single positional argument,
which should be a string. The value of this string will be placed