watson.framework.exceptions¶
- exception watson.framework.exceptions.ApplicationError(message, status_code=None)[source]¶
A general purpose application error.
ApplicationError exceptions are used to redirect the user to relevant http status error pages.
- status_code¶
int
The status code to be used in the response
- class watson.framework.exceptions.ExceptionHandler(config=None)[source]¶
Processes an exception and formats a stack trace.