struct Protocol::Runtime::ExceptionDetails

Overview

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

Included Modules

Defined in:

protocol/runtime.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def column_number : Int::Primitive #

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


[View source]
def exception : RemoteObject | Nil #

Exception object if available.


[View source]
def exception_id : Int::Primitive #

Exception id.


[View source]
def exception_meta_data : JSON::Any | Nil #

Dictionary with entries of meta data that the client associated with this exception, such as information about associated network requests, etc.


[View source]
def execution_context_id : ExecutionContextId | Nil #

Identifier of the context where exception happened.


[View source]
def line_number : Int::Primitive #

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


[View source]
def script_id : ScriptId | Nil #

Script ID of the exception location.


[View source]
def stack_trace : StackTrace | Nil #

JavaScript stack trace if available.


[View source]
def text : String #

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


[View source]
def url : String | Nil #

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


[View source]