1
0
Fork 0
mirror of https://github.com/rubyjs/therubyracer synced 2023-03-27 23:21:42 -04:00

alias V8::Error to V8::JSError

This commit is contained in:
Charles Lowell 2012-06-16 08:33:31 -05:00
parent 3527ac7462
commit 1007885c5c

View file

@ -6,6 +6,7 @@ module V8
@value = value @value = value
end end
end end
const_set :JSError, Error
def self.Error(exception) def self.Error(exception)
value = exception.to_ruby value = exception.to_ruby