2023-03-10 14:17:24 +00:00
|
|
|
from werkzeug.exceptions import HTTPException
|
|
|
|
from .handlers import generic_error_handler
|
2020-10-12 11:26:35 +00:00
|
|
|
|
|
|
|
|
2023-03-10 14:17:24 +00:00
|
|
|
def init_app(app):
|
|
|
|
app.register_error_handler(HTTPException, generic_error_handler)
|