Berico-Technologies/ampjs — pull request #9 by dschroh (2014-03-20 16:00:43+00:00)
Title: Add Error Handling throughout, add Timeout Handler to RpcBus.getResponseTo()

1. Use the timeout passed to RpcBus.getResponseTo() to reject the deferred if the timeout is exceeded.

2. Add error handling through AmpJS. I started breadth-first from RpcBus.getResponseTo() to handle much of the top level. Then I went deep by causing configuration errors in GTS, fallback, Anubis and Rabbit, and testing to ensure errors propograted up.

Note: JSONP errors are not supported by JQuery.ajax, so a 3rd party JSONP library was included to support this.