Add headers to CloudFlareException
parent
80a2a10e71
commit
c3b1556816
@ -1,7 +1,9 @@
|
|||||||
package org.koitharu.kotatsu.parsers.exception
|
package org.koitharu.kotatsu.parsers.exception
|
||||||
|
|
||||||
|
import okhttp3.Headers
|
||||||
import okio.IOException
|
import okio.IOException
|
||||||
|
|
||||||
class CloudFlareProtectedException(
|
class CloudFlareProtectedException(
|
||||||
val url: String,
|
val url: String,
|
||||||
|
val headers: Headers,
|
||||||
) : IOException("Protected by CloudFlare: $url")
|
) : IOException("Protected by CloudFlare: $url")
|
||||||
Loading…
Reference in New Issue