Singly/hallway — pull request #822 by jsmecham (2013-02-26 21:50:25+00:00)
Title: Allow for better service error messages

I've added support to jsonErr in middleware.js for Error objects. Specifically, there is support for passing through an "originalError" object if set on the Error instance to the user. This could be used throughout the Singly codebase to provide parseable error messages from services that currently return simple strings in their callbacks.