mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-18 09:32:23 +08:00
Rename NotSupportedSliderCaptchaException to UnsupportedSliderCaptchaException
This commit is contained in:
parent
2b12ae0ded
commit
1e53f56212
@ -64,7 +64,7 @@ public class UnsupportedSMSLoginException(message: String?) : LoginFailedExcepti
|
||||
/**
|
||||
* 无法完成滑块验证
|
||||
*/
|
||||
public class NotSupportedSliderCaptchaException(message: String?) : LoginFailedException(true, message)
|
||||
public class UnsupportedSliderCaptchaException(message: String?) : LoginFailedException(true, message)
|
||||
|
||||
/**
|
||||
* 非 mirai 实现的异常
|
||||
|
@ -194,7 +194,7 @@ internal class QQAndroidBotNetworkHandler(coroutineContext: CoroutineContext, bo
|
||||
if (step == 0) {
|
||||
return closeEverythingAndRelogin(host, port, cause, 1)
|
||||
}
|
||||
throw NotSupportedSliderCaptchaException(
|
||||
throw UnsupportedSliderCaptchaException(
|
||||
buildString {
|
||||
append("Mirai 无法完成滑块验证.")
|
||||
if (allowSlider) {
|
||||
|
Loading…
Reference in New Issue
Block a user