QQQR 异常¶
QQQR 异常层次结构。
定义 TencentLoginError、UnexpectedInteraction、UserBreak 和 UserTimeout。
- exception qqqr.exception.TencentLoginError(code, msg, *args, subcode=None)¶
此异常表示 Qzone 登录过程中发生了错误,至少包含一个错误码。
- exception qqqr.exception.UnexpectedInteraction(description, *args)¶
表示用户没有按预期进行交互。
- exception qqqr.exception.UserBreak¶
表示用户主动中断了登录过程。
在 1.1.0 版本发生变更: Inherit from
UnexpectedInteraction.
- exception qqqr.exception.UserTimeout(expected_interaction='')¶
表示用户未在预期时间内完成交互。
在 1.1.0 版本加入.