Bad Request Exception
open class BadRequestException(message: String, statusCode: Int?, reason: String?, cause: Throwable?) : SpotifyException
Content copied to clipboard
Thrown when a request fails.
Parameters
statusCode
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.
Constructors
BadRequestException
Link copied to clipboard
BadRequestException
Link copied to clipboard
BadRequestException
Link copied to clipboard
BadRequestException
Link copied to clipboard
BadRequestException
Link copied to clipboard
fun BadRequestException(message: String, statusCode: Int? = null, reason: String? = null, cause: Throwable? = null)
Content copied to clipboard
The status code of the request, if this exception is thrown after the completion of an HTTP request.
Properties
Inheritors
Sources
common source
Link copied to clipboard