Package-level declarations

공통 모델 패키지
Package for common models

Types

Link copied to clipboard
@Serializable
data class ApiError(val statusCode: Int, val reason: ApiErrorCause, val response: ApiErrorResponse) : KakaoSdkError

API 에러
API errors

Link copied to clipboard
@Serializable(with = ApiErrorCauseSerializer::class)
enum ApiErrorCause : Enum<ApiErrorCause>

ApiError 에러 원인
Causes of ApiError

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

API 에러 응답
Response for API errors

Link copied to clipboard
@Serializable
data class AppsError(val statusCode: Int, val reason: AppsErrorCause, val response: AppsErrorResponse) : KakaoSdkError

Apps 에러
Apps error

Link copied to clipboard
@Serializable(with = AppsErrorCauseSerializer::class)
enum AppsErrorCause : Enum<AppsErrorCause>

Apps 에러 원인
Cause of Apps error

Link copied to clipboard
@Serializable
data class AppsErrorResponse(val errorCode: String, val errorMessage: String)

Apps 에러 응답
Response of Apps error

Link copied to clipboard
@Serializable
data class AuthError(val statusCode: Int, val reason: AuthErrorCause, val response: AuthErrorResponse) : KakaoSdkError

인증 및 인가 에러
Authorization or authentication errors

Link copied to clipboard
@Serializable(with = AuthErrorCauseSerializer::class)
enum AuthErrorCause : Enum<AuthErrorCause>

AuthError 에러 원인
Causes of AuthError

Link copied to clipboard
@Serializable
data class AuthErrorResponse(val error: String, val errorDescription: String?)

인증 및 인가 에러 응답
Response for authorization or authentication errors

Link copied to clipboard
data class ClientError(val reason: ClientErrorCause, val msg: String = reason.javaClass.getField(reason.name) .getAnnotation(Description::class.java)?.value ?: "Client-side error") : KakaoSdkError

클라이언트 에러
Client errors

Link copied to clipboard

ClientError 에러 원인
Causes of ClientError

Link copied to clipboard
@Serializable
sealed class KakaoSdkError : RuntimeException

SDK 내부 동작 에러
SDK internal operation errors

Link copied to clipboard
class SdkIdentifier(val identifiers: String? = null)

Kakao SDK를 사용하는 SDK의 참고용 식별자
Reference identifier for the SDK using Kakao SDK