pl.wendigo.chrome.api.runtime / ExceptionDetails

ExceptionDetails

data class ExceptionDetails (source)

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

Link
Runtime#ExceptionDetails type documentation.

Constructors

<init>

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

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

Properties

columnNumber

val columnNumber: Int

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

exception

val exception: RemoteObject?

Exception object if available.

exceptionId

val exceptionId: Int

Exception id.

executionContextId

val executionContextId: ExecutionContextId?

Identifier of the context where exception happened.

lineNumber

val lineNumber: Int

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

scriptId

val scriptId: ScriptId?

Script ID of the exception location.

stackTrace

val stackTrace: StackTrace?

JavaScript stack trace if available.

text

val text: String

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

url

val url: String?

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