ErrorResponse

@Serializable
data class ErrorResponse(val error: ErrorObject, val exception: Exception? = null)(source)

Wraps around ErrorObject. Serialized raw Spotify error response

Parameters

error

The error code and message, as returned by Spotify

exception

The associated Kotlin exception for this error

Constructors

Link copied to clipboard
constructor(error: ErrorObject, exception: Exception? = null)

Properties

Link copied to clipboard
Link copied to clipboard
@Transient
val exception: Exception? = null