PrefetchNetworkException
@Profile.ExperimentalUrlPrefetch
class PrefetchNetworkException : PrefetchException
| kotlin.Any | ||||
| ↳ | kotlin.Throwable | |||
| ↳ | java.lang.Exception | |||
| ↳ | androidx.webkit.PrefetchException | |||
| ↳ | androidx.webkit.PrefetchNetworkException |
Class for network &server related Exceptions produced by Profile prefetch operations.
Summary
Constants |
|
|---|---|
const Int |
Public constructors |
|---|
PrefetchNetworkException(error: String) |
PrefetchNetworkException(httpResponseStatusCode: Int) |
PrefetchNetworkException(error: String, httpResponseStatusCode: Int) |
Public properties |
|
|---|---|
Int |
The HTTP response status code returned from the server, this is based on MDN web response codes. |
Inherited functions |
||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Constants
Public constructors
PrefetchNetworkException
Added in 1.13.0
PrefetchNetworkException(error: String, httpResponseStatusCode: Int)
Public properties
httpResponseStatusCode
Added in 1.13.0
val httpResponseStatusCode: Int
The HTTP response status code returned from the server, this is based on MDN web response codes.