How to Use Custom Exceptions to handle API Errors

后端 未结 0 1277
灰色年华
灰色年华 2020-12-10 13:02
    # define Python user-defined exceptions
class Error(Exception):
   """Base class for other exceptions"""
   pass
class NotTranslate         


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