ErrorObject

@Serializable
data class ErrorObject(val status: Int, val message: String, val reason: String? = null)(source)

An endpoint exception from Spotify

Parameters

status

The HTTP status code

message

A short description of the cause of the error.

Constructors

Link copied to clipboard
constructor(status: Int, message: String, reason: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val reason: String? = null
Link copied to clipboard
val status: Int