Package-level declarations

Types

Link copied to clipboard
@Serializable
data class AuthenticationErrorObject(val error: String, val errorDescription: String)
Link copied to clipboard
Link copied to clipboard
@Serializable
data class ErrorObject(val status: HttpStatusCode, val message: String)
Link copied to clipboard
object HttpStatusCodeSerializer : KSerializer<HttpStatusCode>
Link copied to clipboard
class InputException(val parameters: List<String>, val message: String = "Provided parameter input is not valid") : Exception
Link copied to clipboard
class RateLimitException(val message: String = "Too many requests", val retryAfterMs: Long) : RuntimeException
Link copied to clipboard
class RequestException(val message: String = "Unauthorized", val error: ErrorObject) : RuntimeException

Functions

Link copied to clipboard