APIError

data class APIError(@Json(name = "StatusCode") val statusCode: Int, @Json(name = "code") val code: Int, @Json(name = "details") val details: List<Int>, @Json(name = "duration") val duration: String, @Json(name = "message") val message: String, @Json(name = "more_info") val moreInfo: String, @Json(name = "exception_fields") val exceptionFields: Map<String, String>? = null)

Parameters

statusCode

Response HTTP status code

code

API error code

details

Additional error-specific information

duration

Request duration

message

Message describing an error

moreInfo

URL with additional information

exceptionFields

Additional error info

Constructors

Link copied to clipboard
constructor(@Json(name = "StatusCode") statusCode: Int, @Json(name = "code") code: Int, @Json(name = "details") details: List<Int>, @Json(name = "duration") duration: String, @Json(name = "message") message: String, @Json(name = "more_info") moreInfo: String, @Json(name = "exception_fields") exceptionFields: Map<String, String>? = null)

Properties

Link copied to clipboard
val code: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard