daleharvey/pouchdb — pull request #1101 by fiatjaf (2013-12-05 23:56:58+00:00)
Title: (#693) Fixed error throwing in api.changes

Fixed error reason messages for error throwing in
local adapters, mirroring CouchDB reason messages;

Added some error throwing functionality for http
adapter which stops the repetition of `_changes`
requests immediately and just calls `opts.complete`
with the error;

Added tests for ensuring the consistency of the
errors status codes and messages between local and
http adapters.