chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.network.events / NetworkEvent / LoadingFailedEvent

LoadingFailedEvent

data class LoadingFailedEvent : NetworkEvent

Fired when HTTP request has failed to load.

Official doc

Constructors

<init>

Fired when HTTP request has failed to load.

LoadingFailedEvent(requestId: RequestId, timestamp: MonotonicTime, type: ResourceType, errorText: String, canceled: Boolean? = null, blockedReason: BlockedReason? = null, corsErrorStatus: CorsErrorStatus? = null)

Properties

blockedReason

The reason why loading was blocked, if any.

val blockedReason: BlockedReason?

canceled

True if loading was canceled.

val canceled: Boolean?

corsErrorStatus

The reason why loading was blocked by CORS, if any.

val corsErrorStatus: CorsErrorStatus?

errorText

User friendly error message.

val errorText: String

requestId

Request identifier.

val requestId: RequestId

timestamp

Timestamp.

val timestamp: MonotonicTime

type

Resource type.

val type: ResourceType