Trees | Indices | Help |
---|
|
Do not use this class for handling errors. It is only a parent class for the actual error-handler classes.
|
|||
|
|||
|
|||
|
|
Return a flask response suitable for the current situation (e.g. reder HTML page for UI failures, send JSON back to API client, etc). This method is expected to be implemented in descendants of this class. |
Return an error message for a given exception. We want to obtain messages differently for `CoprHttpException`, `HTTPException`, or others. |
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 | http://epydoc.sourceforge.net |