mirror of
https://github.com/czp3009/bilibili-api.git
synced 2026-08-13 22:43:29 +08:00
@@ -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)
|
||||
Reference in New Issue
Block a user