2012/3/16 javamonk <[email protected]>
> You can throw exception by return this:
> return
> v8::ThrowException(v8::Exception::Error(v8::String::New("message
> here..")));
>
Triva: you can throw ANY JS Value:
return v8:ThrowException(v8::String::New("..."))
once upon a time i thought that ThrowException generated an Error object
from its arguments, but it does not.
--
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
--
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users