ApiException

class ApiException(val statusCode: Int, message: String, val errorCode: String? = null, cause: Throwable? = null) : FursuitTvSdkException

API 调用异常 表示 API 调用过程中发生的错误

Parameters

statusCode

HTTP 状态码

message

错误消息

errorCode

错误代码(可选)

cause

异常原因

Constructors

Link copied to clipboard
constructor(statusCode: Int, message: String, errorCode: String? = null, cause: Throwable? = null)

Properties

Link copied to clipboard
val errorCode: String? = null
Link copied to clipboard