PrefetchNetworkException


@Profile.ExperimentalUrlPrefetch
class PrefetchNetworkException : PrefetchException


Class for network &server related Exceptions produced by Profile prefetch operations.

Summary

Constants

const Int

Public constructors

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.

Constants

NO_HTTP_RESPONSE_STATUS_CODE

Added in 1.13.0-beta01
const val NO_HTTP_RESPONSE_STATUS_CODE = 0: Int

Public constructors

PrefetchNetworkException

Added in 1.13.0-beta01
PrefetchNetworkException()

PrefetchNetworkException

Added in 1.13.0-beta01
PrefetchNetworkException(error: String)

PrefetchNetworkException

Added in 1.13.0-beta01
PrefetchNetworkException(httpResponseStatusCode: Int)

PrefetchNetworkException

Added in 1.13.0-beta01
PrefetchNetworkException(error: String, httpResponseStatusCode: Int)

Public properties

httpResponseStatusCode

Added in 1.13.0-beta01
val httpResponseStatusCodeInt

The HTTP response status code returned from the server, this is based on MDN web response codes.