Python, MetaClasses, HTTPException, __init_subclass__ - TypeError: exceptions must derive from BaseException

前端 未结 0 1495
感情败类
感情败类 2021-02-01 19:56

Could somebody point me to how to solve my problem:

from werkzeug.exceptions import HTTPException

class HTTPExceptions(HTTPException):
    subclasses = dict()

          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题