xyz.cssxsh.pixiv.exception.AppApiError.kt Maven / Gradle / Ivy
package xyz.cssxsh.pixiv.exception
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
public data class AppApiError(
@SerialName("error")
val error: ErrorInfo,
) {
@Serializable
public data class ErrorInfo(
@SerialName("user_message")
val userMessage: String,
@SerialName("message")
val message: String,
@SerialName("reason")
val reason: String,
@SerialName("user_message_details")
val userMessageDetails: Map,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy