ApiErrorResponse

@Serializable
data class ApiErrorResponse(val code: Int, val msg: String, val apiType: String? = null, val requiredScopes: List<String>? = null, val allowedScopes: List<String>? = null) : Serializable

API 에러 응답
Response for API errors

Constructors

Link copied to clipboard
constructor(code: Int, msg: String, apiType: String? = null, requiredScopes: List<String>? = null, allowedScopes: List<String>? = null)

Properties

Link copied to clipboard
@SerialName(value = "allowed_scopes")
val allowedScopes: List<String>? = null

사용자가 동의한 동의항목
Scopes that user agreed to

Link copied to clipboard
@SerialName(value = "api_type")
val apiType: String? = null

API 종류
API type

Link copied to clipboard
val code: Int

에러 코드
Error code

Link copied to clipboard
val msg: String

에러 메시지
Error message

Link copied to clipboard
@SerialName(value = "required_scopes")
val requiredScopes: List<String>? = null

사용자가 동의해야 하는 동의항목
Scopes that the user must agree to