mirai
2.16.0
common
mirai-core-api
/
net.mamoe.mirai.network
/
CustomLoginFailedException
Custom
Login
Failed
Exception
abstract
class
CustomLoginFailedException
:
LoginFailedException
非 mirai 实现的异常
Members
Constructors
Custom
Login
Failed
Exception
Link copied to clipboard
constructor
(
killBot
:
Boolean
)
constructor
(
killBot
:
Boolean
,
message
:
String
?
)
constructor
(
killBot
:
Boolean
,
message
:
String
?
,
cause
:
Throwable
?
)
constructor
(
killBot
:
Boolean
,
cause
:
Throwable
?
)
Properties
cause
Link copied to clipboard
open
val
cause
:
Throwable
?
kill
Bot
Link copied to clipboard
val
killBot
:
Boolean
=
false
是否可因此登录失败而关闭
Bot
. 一般是密码错误, 被冻结等异常时.
message
Link copied to clipboard
open
val
message
:
String
?