SpotifyScopesNeededException

class SpotifyScopesNeededException(cause: Throwable?, missingScopes: List<SpotifyScope>) : SpotifyException.BadRequestException

Exception signifying that the current api token does not have the necessary scope to complete this request

Constructors

SpotifyScopesNeededException
Link copied to clipboard
common
fun SpotifyScopesNeededException(cause: Throwable? = null, missingScopes: List<SpotifyScope>)

Properties

cause
Link copied to clipboard
common
open val cause: Throwable?
message
Link copied to clipboard
common
open val message: String?
missingScopes
Link copied to clipboard
common
val missingScopes: List<SpotifyScope>
reason
Link copied to clipboard
common
val reason: String? = null
The reason for the failure, as a readable message.
statusCode
Link copied to clipboard
common
val statusCode: Int? = null
The status code of the request, if this exception is thrown after the completion of an HTTP request.

Sources

common source
Link copied to clipboard