Bad Request Exception
open class BadRequestException(message: String, val statusCode: Int? = null, val reason: String? = null, cause: Throwable? = null) : SpotifyException(source)
Thrown when a request fails.
Parameters
status Code
The status code of the request, if this exception is thrown after the completion of an HTTP request.
reason
The reason for the failure, as a readable message.