ext/h8/main.cpp in h8-0.4.11 vs ext/h8/main.cpp in h8-0.5.0

- old
+ new

@@ -6,11 +6,11 @@ extern "C" { void Init_h8(void); } -VALUE h8_exception, js_exception, js_timeout_exception; +VALUE h8_exception, js_exception, js_timeout_exception, js_nested_exception; VALUE context_class; VALUE ruby_gate_class; VALUE value_class; VALUE Rundefined; @@ -229,9 +229,10 @@ rb_define_method(value_class, "context", (ruby_method) rvalue_get_ruby_context, 0); h8_exception = rb_define_class_under(h8, "Error", rb_eStandardError); js_exception = rb_define_class_under(h8, "JsError", h8_exception); + js_nested_exception = rb_define_class_under(h8, "NestedError", js_exception); js_timeout_exception = rb_define_class_under(h8, "TimeoutError", js_exception); VALUE u_class = rb_define_class_under(h8, "UndefinedClass", rb_cObject); Rundefined = rb_funcall(u_class, rb_intern("instance"), 0);