SpotifyApiException

class SpotifyApiException(val statusCode: Int, message: String)

Exception thrown by SpotifyResult.getOrThrow when a SpotifyResult carries a failure.

Constructors

Link copied to clipboard
constructor(statusCode: Int, message: String)

Properties

Link copied to clipboard

HTTP status code reported by Spotify, or 0 when the failure has no HTTP status (for example a network or validation failure).