ErrorResponse

data class ErrorResponse(error: ErrorObject, exception: Exception?)

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

ErrorResponse
Link copied to clipboard
common
fun ErrorResponse(error: ErrorObject, exception: Exception? = null)
The error code and message, as returned by Spotify

Functions

component1
Link copied to clipboard
common
operator fun component1(): ErrorObject
component2
Link copied to clipboard
common
operator fun component2(): Exception?
copy
Link copied to clipboard
common
fun copy(error: ErrorObject, exception: Exception? = null): ErrorResponse
equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
toString
Link copied to clipboard
common
open override fun toString(): String

Properties

error
Link copied to clipboard
common
val error: ErrorObject
The error code and message, as returned by Spotify
exception
Link copied to clipboard
common
val exception: Exception? = null
The associated Kotlin exception for this error

Sources

(source)
Link copied to clipboard