LoadingFailed

@Serializable
data class LoadingFailed(val requestId: RequestId, val timestamp: MonotonicTime, val type: ResourceType, val errorText: String, val canceled: Boolean? = null, val blockedReason: BlockedReason? = null, val corsErrorStatus: CorsErrorStatus? = null) : NetworkEvent

Fired when HTTP request has failed to load.

Official doc

Constructors

Link copied to clipboard
constructor(requestId: RequestId, timestamp: MonotonicTime, type: ResourceType, errorText: String, canceled: Boolean? = null, blockedReason: BlockedReason? = null, corsErrorStatus: CorsErrorStatus? = null)

Properties

Link copied to clipboard

The reason why loading was blocked, if any.

Link copied to clipboard
val canceled: Boolean? = null

True if loading was canceled.

Link copied to clipboard

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

Link copied to clipboard

Error message. List of network errors: https://cs.chromium.org/chromium/src/net/base/net_error_list.h

Link copied to clipboard

Request identifier.

Link copied to clipboard

Timestamp.

Link copied to clipboard

Resource type.