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

const val NO_HTTP_RESPONSE_STATUS_CODE = 0: Int

Public constructors

PrefetchNetworkException

PrefetchNetworkException()

PrefetchNetworkException

PrefetchNetworkException(error: String)

PrefetchNetworkException

PrefetchNetworkException(httpResponseStatusCode: Int)

PrefetchNetworkException

PrefetchNetworkException(error: String, httpResponseStatusCode: Int)

Public properties

httpResponseStatusCode

val httpResponseStatusCodeInt

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