Exception: H8::NestedError

Inherits:
JsError show all
Defined in:
lib/h8/errors.rb,
ext/h8/main.cpp

Overview

The exception that carries out uncaught ruby exception #ruby_error therefore it is possible to get javascript backtrace too

Instance Attribute Summary collapse

Attributes inherited from JsError

#javascript_error, #origin_column, #origin_line, #origin_name

Instance Method Summary collapse

Methods inherited from JsError

#javascript_backtrace, #message, #name

Instance Attribute Details

#ruby_errorObject (readonly)

The uncaught ruby exception



46
47
48
# File 'lib/h8/errors.rb', line 46

def ruby_error
  @ruby_error
end

Instance Method Details

#to_sObject



48
49
50
# File 'lib/h8/errors.rb', line 48

def to_s
  ruby_error.to_s
end