mirror of
https://github.com/czp3009/bilibili-api.git
synced 2025-02-19 20:50:28 +08:00
commit
e02bc08ca1
@ -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)
|
Loading…
Reference in New Issue
Block a user