models/login_exception library

Exceptions / Errors

AccountLockedException
Account locked after too many failed attempts (已被鎖住). Typically a 15-minute cooldown.
LoginException
Thrown when NTUT Portal login fails.
MobileVerificationRequiredException
Mobile phone verification is required (驗證手機).
PasswordExpiredException
Password has expired and must be changed (密碼已過期 + resetPwd: true).
UnknownLoginException
Login failed with an unrecognized error message.
WrongCredentialsException
Wrong student ID or password (密碼錯誤).