Wrap JavaScript errors on NodeJS process side into PHP's DriverException