All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xyz.cssxsh.pixiv.exception.NoCacheException.kt Maven / Gradle / Ivy

package xyz.cssxsh.pixiv.exception

import io.ktor.client.plugins.*
import io.ktor.client.statement.*
import io.ktor.util.*
import kotlinx.coroutines.*

public class NoCacheException(response: HttpResponse) : ResponseException(response, "") {
    init {
        response.call.cancel(super.message!!)
    }

    override val message: String = "No Cache $response ${response.headers.toMap()}"
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy