summaryrefslogtreecommitdiff
path: root/docs/api
diff options
context:
space:
mode:
authorMichael Merickel <michael@digitalartefacts.com>2013-10-19 01:52:11 -0500
committerMichael Merickel <michael@digitalartefacts.com>2013-10-19 01:52:11 -0500
commit6b0889cc8f3711d5f77cb663f8f2fa432eb3ad06 (patch)
tree8c04acef743f8a1d5bcc739635c603f2d56d0d1f /docs/api
parent0e2914bc0d5f6f4cab1cfe11e3c6e88dd96ecbb6 (diff)
downloadpyramid-6b0889cc8f3711d5f77cb663f8f2fa432eb3ad06.tar.gz
pyramid-6b0889cc8f3711d5f77cb663f8f2fa432eb3ad06.tar.bz2
pyramid-6b0889cc8f3711d5f77cb663f8f2fa432eb3ad06.zip
update doc references
Diffstat (limited to 'docs/api')
-rw-r--r--docs/api/exceptions.rst2
-rw-r--r--docs/api/httpexceptions.rst13
2 files changed, 2 insertions, 13 deletions
diff --git a/docs/api/exceptions.rst b/docs/api/exceptions.rst
index ab158f18d..0c630571f 100644
--- a/docs/api/exceptions.rst
+++ b/docs/api/exceptions.rst
@@ -5,6 +5,8 @@
.. automodule:: pyramid.exceptions
+ .. autoclass:: BadCSRFToken
+
.. autoclass:: PredicateMismatch
.. autoclass:: Forbidden
diff --git a/docs/api/httpexceptions.rst b/docs/api/httpexceptions.rst
index 0fdd0f0e9..b50f10beb 100644
--- a/docs/api/httpexceptions.rst
+++ b/docs/api/httpexceptions.rst
@@ -10,9 +10,6 @@
A mapping of integer status code to HTTP exception class (eg. the integer
"401" maps to :class:`pyramid.httpexceptions.HTTPUnauthorized`). All
mapped exception classes are children of :class:`pyramid.httpexceptions`,
- i.e. the :ref:`pyramid_specific_http_exceptions` such as
- :class:`pyramid.httpexceptions.HTTPBadRequest.BadCSRFToken` are not
- mapped.
.. autofunction:: exception_response
@@ -109,13 +106,3 @@
.. autoclass:: HTTPVersionNotSupported
.. autoclass:: HTTPInsufficientStorage
-
-
-.. _pyramid_specific_http_exceptions:
-
-Pyramid-specific HTTP Exceptions
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-Each Pyramid-specific HTTP exception has the status code of it's parent.
-
- .. autoclass:: HTTPBadCSRFToken