how can i set a callback for the error handling if mongoose isn\'t able to connect to my DB?
i know of
connection.on(\'open\', function () { ... });
In case anyone happens upon this, the version of Mongoose I'm running (3.4) works as stated in the question. So the following can return an error.
connection.on('error', function (err) { ... });