Our custom errors should be mapped to HTTP errors
Registered by
Nikolay Markov
We're raising web.py exceptions as a part of our business logic in handlers, but there is a big part of this logic which is common for all handlers. I think it will be better to use some kind of mapper which will return corresponding HTTP codes depending of our exceptions.
Blueprint information
- Status:
- Complete
- Approver:
- Nikolay Markov
- Priority:
- Low
- Drafter:
- Nikolay Markov
- Direction:
- Approved
- Assignee:
- Nikolay Markov
- Definition:
- Approved
- Series goal:
- Accepted for 6.0.x
- Implementation:
-
Implemented
- Milestone target:
-
6.0
- Started by
- Nikolay Markov
- Completed by
- Nikolay Markov
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Wrap errors to JSON in Nailgun API
Gerrit topic: https:/
(?)