I'm writing an addon in C++ and would like to pass an Error to a callback function if an error occurs. I see how to throw exceptions, but in this case I simply want to pass an Error. I've looked through v8 docs and node.h but don't see any examples of returning an Error. I know this must be extremely simple but I'm just not seeing how to do it.
Thanks. -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en