QQGuildResultSerializationException

open class QQGuildResultSerializationException(value: Int, description: String, message: String = ": ") : QQGuildApiException(source)

当 API 相应结果反序列化失败

Constructors

Link copied to clipboard
constructor(value: Int, description: String, message: String = ": ")

Inherited properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val message: String?
Link copied to clipboard
val value: Int

Inherited functions

Link copied to clipboard
inline fun <T> QQGuildApiException.ifNotFoundThen(throwCopy: Boolean = true, value: () -> T): T

如果 QQGuildApiException.isNotFoundtrue, 得到null,否则抛出此异常

Link copied to clipboard
inline fun QQGuildApiException.ifNotFoundThenNoSuch(throwCopy: Boolean = true, value: () -> String): Nothing

如果 QQGuildApiException.isNotFoundtrue, 得到null,否则抛出此异常

Link copied to clipboard
inline fun <T> QQGuildApiException.ifNotFoundThenNull(throwCopy: Boolean = true): T?

如果 QQGuildApiException.isNotFoundtrue, 得到null,否则抛出此异常