mirror of https://github.com/mitsuhiko/flask.git
Browse Source
Prior to werkzeug 0.12.2, it was possible to manipulate the status code to exception type maps flask used by invoking:: flask.abort.mapping.update(mapping) This brings that back by creating a flask specific werkzeug.exceptions.Aborter object and exposing it as flask.aborter. It also implements a flask.abort function so that the correct docstring is exposed:: flask.aborter.mapping.update(mapping)pull/2484/head
Michael Komitee
7 years ago
3 changed files with 52 additions and 3 deletions
Loading…
Reference in new issue