LoadingFailedEvent

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

Fired when HTTP request has failed to load.

Constructors

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

Functions

domain
Link copied to clipboard
open override fun domain(): String
Returns domain name for which event was generated.
eventName
Link copied to clipboard
open override fun eventName(): String
Returns event name as described in protocol.

Properties

blockedReason
Link copied to clipboard
val blockedReason: BlockedReason? = null
The reason why loading was blocked, if any.
canceled
Link copied to clipboard
val canceled: Boolean? = null
True if loading was canceled.
corsErrorStatus
Link copied to clipboard
val corsErrorStatus: CorsErrorStatus? = null
The reason why loading was blocked by CORS, if any.
errorText
Link copied to clipboard
val errorText: String
User friendly error message.
requestId
Link copied to clipboard
val requestId: RequestId
Request identifier.
timestamp
Link copied to clipboard
val timestamp: MonotonicTime
Timestamp.
type
Link copied to clipboard
val type: ResourceType
Resource type.

Sources

jvm source
Link copied to clipboard