Package-level declarations
Functions
Link copied to clipboard
fun mapTwitchApiError(statusCode: Int, body: String, retryAfterMs: Long? = null): TwitchApiException
Maps an HTTP status code and response body to the appropriate TwitchApiException.