We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 684e513 commit fbbe2b0Copy full SHA for fbbe2b0
roundup/cgi/exceptions.py
@@ -15,22 +15,29 @@ class RoundupCGIException(RoundupException):
15
16
17
class HTTPException(RoundupCGIException):
18
+ """Base exception for all HTTP error codes."""
19
pass
20
21
22
class Redirect(HTTPException):
23
+ """HTTP 302 status code"""
24
25
26
27
class NotFound(HTTPException):
28
+ """HTTP 404 status code unless self.response_code is set to
29
+ 400 prior to raising exception.
30
+ """
31
32
33
34
class NotModified(HTTPException):
35
+ """HTTP 304 status code"""
36
37
38
39
class PreconditionFailed(HTTPException):
40
+ """HTTP 412 status code"""
41
42
43
0 commit comments