home
·
contact
·
privacy
projects
/
plomtask
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix HTTP exception codes.
[plomtask]
/
plomtask
/
exceptions.py
diff --git
a/plomtask/exceptions.py
b/plomtask/exceptions.py
index 379ae9feb751b99eb45e083d992f5509b6059a43..2e479d9cb144f8e25aafccdc09a75e20d75de6f3 100644
(file)
--- a/
plomtask/exceptions.py
+++ b/
plomtask/exceptions.py
@@
-6,12
+6,12
@@
to merit its own module at this point.
class HandledException(Exception):
"""To identify Exceptions based on expected (if faulty) user behavior."""
class HandledException(Exception):
"""To identify Exceptions based on expected (if faulty) user behavior."""
- http_code =
4
00
+ http_code =
5
00
class BadFormatException(HandledException):
"""To identify Exceptions on malformed inputs."""
class BadFormatException(HandledException):
"""To identify Exceptions on malformed inputs."""
- http_code = 40
1
+ http_code = 40
0
class NotFoundException(HandledException):
class NotFoundException(HandledException):