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:
parent
3527ac7462
commit
1007885c5c
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue