Could somebody point me to how to solve my problem:
from werkzeug.exceptions import HTTPException class HTTPExceptions(HTTPException): subclasses = dict()