[Flask] Raise abort() instead of return abort

Dorian Hoxha dorian.hoxha at gmail.com
Sat Jan 28 04:03:02 EST 2017


Hello friends!,

Is there something simmilar to "return abort()" but that you can raise ?
Basically, raise an exception that in fact is a response which flask
understands and returns ?

Thank You
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/flask/attachments/20170128/4692834f/attachment.html>


More information about the Flask mailing list