kripken/emscripten — pull request #1634 by gfx (2013-09-18 15:44:23+00:00)
Title: give ErrnoError with .stack and .toString()

Hi,

ErrornoError objects have no `toString()` so it's not good to debug. This patch gives them `toString()` so that it shows "ErrnorError: file exists" to console instead of "[object Object]" when you use node.js and do not catch the error.

Thanks.