chriso/node-validator — pull request #239 by stuartf (2013-12-19 18:51:51+00:00)
Title: save custom error objects to this.msg

I commented in #207 about this. A project I work on is passing a custom error object like `{code: 404, msg: 'Not Found'}` as the message in our validators. The latest versions of validator break this by leaving `this.msg` as `null` when the message is an Object.