mattdaly/node-ravendb — Issue #11: Error handling
Author: mattdaly
Created: 2012-01-04 01:34:44+00:00
State: open

- Catch more non 200 OK HTTP status codes and return in the error callback.

Don't really want unnecessary callback parameters just to handle the few times operations will fail - consider wrapping the error in a custom error object and returning along with the HTTP status code.

- Better handling for connection errors (econnrefused etc)