cqwu-ehall/cqwu/errors/auth.py
brian 60c32861ea
Support get score
Co-authored-by: brian <brian@xtaolabs.com>
2023-03-08 20:48:12 +08:00

20 lines
319 B
Python

from .base import CQWUEhallError
class AuthError(CQWUEhallError):
pass
class UsernameOrPasswordError(AuthError):
pass
class CookieError(AuthError):
pass
class NeedCaptchaError(AuthError):
""" 需要验证码才能登录 """
def __init__(self, captcha: bytes):
self.captcha = captcha