diff --git a/src/main/kotlin/com/hiczp/bilibili/api/retrofit/exception/BilibiliApiException.kt b/src/main/kotlin/com/hiczp/bilibili/api/retrofit/exception/BilibiliApiException.kt index fa8d2ed..320e5d2 100644 --- a/src/main/kotlin/com/hiczp/bilibili/api/retrofit/exception/BilibiliApiException.kt +++ b/src/main/kotlin/com/hiczp/bilibili/api/retrofit/exception/BilibiliApiException.kt @@ -7,5 +7,5 @@ import java.io.IOException * 当服务器返回的 code 不等于 0 时抛出 */ class BilibiliApiException( - commonResponse: CommonResponse -) : IOException(commonResponse.message?.takeIf { it.isNotEmpty() } ?: commonResponse.msg) + val commonResponse: CommonResponse +) : IOException(commonResponse.message?.takeIf { it.isNotEmpty() } ?: commonResponse.msg) \ No newline at end of file