mirror of
https://github.com/mamoe/mirai.git
synced 2025-03-29 09:10:11 +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 实现的异常
|
* 非 mirai 实现的异常
|
||||||
|
@ -194,7 +194,7 @@ internal class QQAndroidBotNetworkHandler(coroutineContext: CoroutineContext, bo
|
|||||||
if (step == 0) {
|
if (step == 0) {
|
||||||
return closeEverythingAndRelogin(host, port, cause, 1)
|
return closeEverythingAndRelogin(host, port, cause, 1)
|
||||||
}
|
}
|
||||||
throw NotSupportedSliderCaptchaException(
|
throw UnsupportedSliderCaptchaException(
|
||||||
buildString {
|
buildString {
|
||||||
append("Mirai 无法完成滑块验证.")
|
append("Mirai 无法完成滑块验证.")
|
||||||
if (allowSlider) {
|
if (allowSlider) {
|
||||||
|
Loading…
Reference in New Issue
Block a user