ErrorObject

data class ErrorObject(status: Int, message: String, reason: String?)

An endpoint exception from Spotify

Parameters

status

The HTTP status code

message

A short description of the cause of the error.

Constructors

ErrorObject
Link copied to clipboard
common
fun ErrorObject(status: Int, message: String, reason: String? = null)
The HTTP status code

Properties

message
Link copied to clipboard
common
val message: String
A short description of the cause of the error.
reason
Link copied to clipboard
common
val reason: String? = null
status
Link copied to clipboard
common
val status: Int
The HTTP status code

Sources

common source
Link copied to clipboard