#coding=utf-8

class YouNeedError(Exception):
    pass

try:
    raise YouNeedError("lola")
except Exception as e:
    print str(e)

 

相关文章:

  • 2021-12-23
  • 2021-07-06
  • 2021-12-09
  • 2021-07-22
  • 2022-01-16
  • 2022-02-04
猜你喜欢
  • 2021-05-12
  • 2021-05-07
  • 2021-05-28
  • 2022-12-23
  • 2021-12-04
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案