SpotifyException

sealed class SpotifyException : Exception

Types

AuthenticationException
Link copied to clipboard
common
class AuthenticationException(message: String, cause: Throwable?) : SpotifyException
BadRequestException
Link copied to clipboard
common
open class BadRequestException(message: String, statusCode: Int?, reason: String?, cause: Throwable?) : SpotifyException
Thrown when a request fails
ParseException
Link copied to clipboard
common
class ParseException(message: String, cause: Throwable?) : SpotifyException
ReAuthenticationNeededException
Link copied to clipboard
common
class ReAuthenticationNeededException(cause: Throwable?, message: String?) : SpotifyException
Exception signifying that re-authentication via spotify-auth is necessary.
TimeoutException
Link copied to clipboard
common
class TimeoutException(message: String, cause: Throwable?) : SpotifyException
UnNullableException
Link copied to clipboard
common
abstract class UnNullableException(message: String) : SpotifyException

Functions

equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
toString
Link copied to clipboard
common
open fun toString(): String

Properties

cause
Link copied to clipboard
common
open val cause: Throwable?
message
Link copied to clipboard
common
open val message: String?

Inheritors

SpotifyException
Link copied to clipboard
SpotifyException
Link copied to clipboard
SpotifyException
Link copied to clipboard
SpotifyException
Link copied to clipboard
SpotifyException
Link copied to clipboard
SpotifyException
Link copied to clipboard

Sources

(source)
Link copied to clipboard