QQGuildResultSerializationException
open class QQGuildResultSerializationException(value: Int, description: String, message: String = ": ") : QQGuildApiException(source)
当 API 相应结果反序列化失败
Inherited properties
Link copied to clipboard
Link copied to clipboard
判断 QQGuildApiException.value 的值是否为 404
Link copied to clipboard
判断 QQGuildApiException.value 的值是否为 401
Inherited functions
Link copied to clipboard
如果 QQGuildApiException.isNotFound 为 true
, 得到null,否则抛出此异常
Link copied to clipboard
inline fun QQGuildApiException.ifNotFoundThenNoSuch(throwCopy: Boolean = true, value: () -> String): Nothing
如果 QQGuildApiException.isNotFound 为 true
, 得到null,否则抛出此异常
Link copied to clipboard
如果 QQGuildApiException.isNotFound 为 true
, 得到null,否则抛出此异常