4 ms·
It is possible to register error handlers for exceptions in Flask. See http://flask.pocoo.org/docs/1.0/patterns/apierrors/ http://flask.pocoo.org/docs/1.0/patte
by danielhochman 8y ago
It is possible to register error handlers for exceptions in Flask. See http://flask.pocoo.org/docs/1.0/patterns/apierrors/ http://flask.pocoo.org/docs/1.0/patterns/apierrors/.
- otterlicious 8y agoThere are also exceptions corresponding to HTTP errors, e.g.: raise werkzeug.exceptions.NotFound instead of abort(404) http://werkzeug.pocoo.org/docs/0.14/exceptions/ http://werkzeug.pocoo.org/docs/0.14/exceptions/
- deleted 8y ago[deleted]