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(source)

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

User friendly error message.

Link copied to clipboard

Request identifier.

Link copied to clipboard

Timestamp.

Link copied to clipboard

Resource type.