Aborts execution and causes a HTTP error.
(code=500, text='Unknown Error.')
| 3197 | |
| 3198 | |
| 3199 | def abort(code=500, text='Unknown Error.'): |
| 3200 | """ Aborts execution and causes a HTTP error. """ |
| 3201 | raise HTTPError(code, text) |
| 3202 | |
| 3203 | |
| 3204 | def redirect(url, code=None): |