developerforce/Force.com-JavaScript-REST-Toolkit — pull request #35 by cwarden (2013-05-07 22:47:06+00:00)
Title: Handle Apex exceptions passed back to javascript remoting

If an uncaught exception occurs in RemoteTKController, pass the error
returned by the javascript remoting call to the error callback.

*My change from #31 is included as well.*