News for hackers. Stuff that matters.
Re:Flask 1.0 Released by danielhochman on Thursday April 26, 2018 @06:26PM (#16936504)
It is possible to register error handlers for exceptions in Flask. See http://flask.pocoo.org/docs/1.0/patterns/apierrors/.
Re:Flask 1.0 Released by otterlicious on Thursday April 26, 2018 @07:12PM (#16936832)
There 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/