From 2e7370a0e7e08aa7bc551bd74f39fca4356eb627 Mon Sep 17 00:00:00 2001 From: Him188 Date: Thu, 16 Jul 2020 22:11:43 +0800 Subject: [PATCH] Add notes to UnsupportedSMSLoginException --- .../kotlin/net.mamoe.mirai/network/LoginFailedException.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/network/LoginFailedException.kt b/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/network/LoginFailedException.kt index bb7356549..1b81eb8d8 100644 --- a/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/network/LoginFailedException.kt +++ b/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/network/LoginFailedException.kt @@ -45,7 +45,7 @@ class NoStandardInputForCaptchaException(override val cause: Throwable?) : /** * 需要短信验证时抛出. mirai 目前还不支持短信验证. */ -@MiraiExperimentalAPI +@MiraiExperimentalAPI("Will be removed when SMS login is supported") class UnsupportedSMSLoginException(message: String?) : LoginFailedException(true, message) /**