chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.runtime / ExceptionDetails

ExceptionDetails

data class ExceptionDetails

Detailed information about exception (or error) that was thrown during script compilation or execution.

Constructors

<init>

Detailed information about exception (or error) that was thrown during script compilation or execution.

ExceptionDetails(exceptionId: Int, text: String, lineNumber: Int, columnNumber: Int, scriptId: ScriptId? = null, url: String? = null, stackTrace: StackTrace? = null, exception: RemoteObject? = null, executionContextId: ExecutionContextId? = null)

Properties

columnNumber

Column number of the exception location (0-based).

val columnNumber: Int

exception

Exception object if available.

val exception: RemoteObject?

exceptionId

Exception id.

val exceptionId: Int

executionContextId

Identifier of the context where exception happened.

val executionContextId: ExecutionContextId?

lineNumber

Line number of the exception location (0-based).

val lineNumber: Int

scriptId

Script ID of the exception location.

val scriptId: ScriptId?

stackTrace

JavaScript stack trace if available.

val stackTrace: StackTrace?

text

Exception text, which should be used together with exception object when available.

val text: String

url

URL of the exception location, to be used when the script was not reported.

val url: String?