mirror of
https://github.com/cqwu-ehall/cqwu-ehall.git
synced 2024-11-22 11:01:20 +00:00
60c32861ea
Co-authored-by: brian <brian@xtaolabs.com>
20 lines
319 B
Python
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
|