flask.Flask.register_error_handler¶
-
Flask.
register_error_handler
(code_or_exception, f)[source]¶ Alternative error attach function to the
errorhandler()
decorator that is more straightforward to use for non decorator usage.New in version 0.7.
Flask.
register_error_handler
(code_or_exception, f)[source]¶Alternative error attach function to the errorhandler()
decorator that is more straightforward to use for non decorator
usage.
New in version 0.7.