SendMessageFailedException

open class SendMessageFailedException @MiraiInternalApi constructor(    val target: Contact,     val reason: SendMessageFailedException.Reason,     val originalMessage: Message) : RuntimeException

发送消息失败时抛出的异常

Since

2.9.0

Constructors

Link copied to clipboard
fun SendMessageFailedException(    target: Contact,     reason: SendMessageFailedException.Reason,     originalMessage: Message)

Types

Link copied to clipboard
enum Reason : Enum<SendMessageFailedException.Reason>

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?
Link copied to clipboard
val originalMessage: Message
Link copied to clipboard
val reason: SendMessageFailedException.Reason
Link copied to clipboard
open val target: Contact

Inheritors

Link copied to clipboard
Link copied to clipboard