ExceptionDetails

sealed external interface ExceptionDetails(source)

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

Properties

Link copied to clipboard
abstract var columnNumber: Double

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

Link copied to clipboard
abstract var exception: RemoteObject?

Exception object if available.

Link copied to clipboard
abstract var exceptionId: Double

Exception id.

Link copied to clipboard

Identifier of the context where exception happened.

Link copied to clipboard
abstract var lineNumber: Double

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

Link copied to clipboard
abstract var scriptId: ScriptId?

Script ID of the exception location.

Link copied to clipboard
abstract var stackTrace: StackTrace?

JavaScript stack trace if available.

Link copied to clipboard
abstract var text: String

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

Link copied to clipboard
abstract var url: String?

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