MihoyoBBSTools/error.py

15 lines
283 B
Python
Raw Normal View History

2022-01-06 05:49:25 +00:00
class CookieError(Exception):
def __init__(self, info):
self.info = info
def __str__(self):
return repr(self.info)
class CaptchaError(Exception):
def __init__(self, info):
self.info = info
def __str__(self):
return repr(self.info)