csnover/core — pull request #6 by jason0x43 (2014-09-13 13:22:00+00:00)
Title: Add NodeError, fixup stack

The stack includes the error message as its first line. Making the message different than the first line of the stack can cause issues with tools that expect them to be consistent.

For example, Intern currently displays this error when it can't connect to Selenium:

```
Error: [POST http://localhost:4444/wd/hub/session] connect ECONNREFUSED
Error: connect ECONNREFUSED
at errnoException
at Object.afterConnect [as oncomplete]
```

It should be displaying:

```
Error: [POST http://localhost:4444/wd/hub/session] connect ECONNREFUSED
at errnoException
at Object.afterConnect [as oncomplete]
```