TargetCrashedException

class TargetCrashedException(val sessionId: SessionID?, val crashEventName: String, val crashEventPayload: JsonElement) : Exception(source)

An exception thrown when an InspectorEvent.TargetCrashed or TargetEvent.TargetCrashed is received.

Constructors

Link copied to clipboard
constructor(sessionId: SessionID?, crashEventName: String, crashEventPayload: JsonElement)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard

The name of the event that triggered this exception.

Link copied to clipboard
val crashEventPayload: JsonElement

The payload of the crash event that triggered this exception

Link copied to clipboard
open val message: String?
Link copied to clipboard

The session ID of the target that crashed, or null if it is the root browser target.