ExceptionDetails

external interface ExceptionDetails(source)

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

Properties

Link copied to clipboard
abstract external var columnNumber: Double

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

Link copied to clipboard
abstract external var exception: RemoteObject?

Exception object if available.

Link copied to clipboard
abstract external var exceptionId: Double

Exception id.

Link copied to clipboard
abstract external var executionContextId: ExecutionContextId?

Identifier of the context where exception happened.

Link copied to clipboard
abstract external var lineNumber: Double

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

Link copied to clipboard
abstract external var scriptId: ScriptId?

Script ID of the exception location.

Link copied to clipboard
abstract external var stackTrace: StackTrace?

JavaScript stack trace if available.

Link copied to clipboard
abstract external var text: String

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

Link copied to clipboard
abstract external var url: String?

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