From 1007885c5c226be5e5025d6399938702ed5d4eb2 Mon Sep 17 00:00:00 2001 From: Charles Lowell Date: Sat, 16 Jun 2012 08:33:31 -0500 Subject: [PATCH] alias V8::Error to V8::JSError --- lib/v8/error.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/v8/error.rb b/lib/v8/error.rb index 5032258..582891d 100644 --- a/lib/v8/error.rb +++ b/lib/v8/error.rb @@ -6,6 +6,7 @@ module V8 @value = value end end + const_set :JSError, Error def self.Error(exception) value = exception.to_ruby