diff options
| author | Christoph Zwerschke <cito@online.de> | 2016-04-19 20:07:12 +0200 |
|---|---|---|
| committer | Christoph Zwerschke <cito@online.de> | 2016-04-19 20:07:12 +0200 |
| commit | 3629c49e46207ff5162a82883c14937e6ef4c186 (patch) | |
| tree | 1306181202cb8313f16080789f5b9ab1eeb61d53 /docs/api/httpexceptions.rst | |
| parent | 804ba0b2f434781e77d2b5191f1cd76a490f6610 (diff) | |
| parent | 6c16fb020027fac47e4d2e335cd9e264dba8aa3b (diff) | |
| download | pyramid-3629c49e46207ff5162a82883c14937e6ef4c186.tar.gz pyramid-3629c49e46207ff5162a82883c14937e6ef4c186.tar.bz2 pyramid-3629c49e46207ff5162a82883c14937e6ef4c186.zip | |
Merge remote-tracking branch 'refs/remotes/Pylons/master'
Diffstat (limited to 'docs/api/httpexceptions.rst')
| -rw-r--r-- | docs/api/httpexceptions.rst | 102 |
1 files changed, 56 insertions, 46 deletions
diff --git a/docs/api/httpexceptions.rst b/docs/api/httpexceptions.rst index 57ca8092c..d4cf97f1d 100644 --- a/docs/api/httpexceptions.rst +++ b/docs/api/httpexceptions.rst @@ -7,92 +7,102 @@ .. attribute:: status_map - A mapping of integer status code to exception class (eg. the - integer "401" maps to - :class:`pyramid.httpexceptions.HTTPUnauthorized`). + 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`, - .. autoclass:: HTTPException + .. autofunction:: exception_response - .. autoclass:: HTTPOk + .. autoexception:: HTTPException - .. autoclass:: HTTPRedirection + .. autoexception:: HTTPOk - .. autoclass:: HTTPError + .. autoexception:: HTTPRedirection - .. autoclass:: HTTPClientError + .. autoexception:: HTTPError - .. autoclass:: HTTPServerError + .. autoexception:: HTTPClientError - .. autoclass:: HTTPCreated + .. autoexception:: HTTPServerError - .. autoclass:: HTTPAccepted + .. autoexception:: HTTPCreated - .. autoclass:: HTTPNonAuthoritativeInformation + .. autoexception:: HTTPAccepted - .. autoclass:: HTTPNoContent + .. autoexception:: HTTPNonAuthoritativeInformation - .. autoclass:: HTTPResetContent + .. autoexception:: HTTPNoContent - .. autoclass:: HTTPPartialContent + .. autoexception:: HTTPResetContent - .. autoclass:: HTTPMultipleChoices + .. autoexception:: HTTPPartialContent - .. autoclass:: HTTPMovedPermanently + .. autoexception:: HTTPMultipleChoices - .. autoclass:: HTTPFound + .. autoexception:: HTTPMovedPermanently - .. autoclass:: HTTPSeeOther + .. autoexception:: HTTPFound - .. autoclass:: HTTPNotModified + .. autoexception:: HTTPSeeOther - .. autoclass:: HTTPUseProxy + .. autoexception:: HTTPNotModified - .. autoclass:: HTTPTemporaryRedirect + .. autoexception:: HTTPUseProxy - .. autoclass:: HTTPBadRequest + .. autoexception:: HTTPTemporaryRedirect - .. autoclass:: HTTPUnauthorized + .. autoexception:: HTTPBadRequest - .. autoclass:: HTTPPaymentRequired + .. autoexception:: HTTPUnauthorized - .. autoclass:: HTTPForbidden + .. autoexception:: HTTPPaymentRequired - .. autoclass:: HTTPNotFound + .. autoexception:: HTTPForbidden - .. autoclass:: HTTPMethodNotAllowed + .. autoexception:: HTTPNotFound - .. autoclass:: HTTPNotAcceptable + .. autoexception:: HTTPMethodNotAllowed - .. autoclass:: HTTPProxyAuthenticationRequired + .. autoexception:: HTTPNotAcceptable - .. autoclass:: HTTPRequestTimeout + .. autoexception:: HTTPProxyAuthenticationRequired - .. autoclass:: HTTPConflict + .. autoexception:: HTTPRequestTimeout - .. autoclass:: HTTPGone + .. autoexception:: HTTPConflict - .. autoclass:: HTTPLengthRequired + .. autoexception:: HTTPGone - .. autoclass:: HTTPPreconditionFailed + .. autoexception:: HTTPLengthRequired - .. autoclass:: HTTPRequestEntityTooLarge + .. autoexception:: HTTPPreconditionFailed - .. autoclass:: HTTPRequestURITooLong + .. autoexception:: HTTPRequestEntityTooLarge - .. autoclass:: HTTPUnsupportedMediaType + .. autoexception:: HTTPRequestURITooLong - .. autoclass:: HTTPRequestRangeNotSatisfiable + .. autoexception:: HTTPUnsupportedMediaType - .. autoclass:: HTTPExpectationFailed + .. autoexception:: HTTPRequestRangeNotSatisfiable - .. autoclass:: HTTPInternalServerError + .. autoexception:: HTTPExpectationFailed - .. autoclass:: HTTPNotImplemented + .. autoexception:: HTTPUnprocessableEntity - .. autoclass:: HTTPBadGateway + .. autoexception:: HTTPLocked - .. autoclass:: HTTPServiceUnavailable + .. autoexception:: HTTPFailedDependency - .. autoclass:: HTTPGatewayTimeout + .. autoexception:: HTTPInternalServerError - .. autoclass:: HTTPVersionNotSupported + .. autoexception:: HTTPNotImplemented + + .. autoexception:: HTTPBadGateway + + .. autoexception:: HTTPServiceUnavailable + + .. autoexception:: HTTPGatewayTimeout + + .. autoexception:: HTTPVersionNotSupported + + .. autoexception:: HTTPInsufficientStorage |
