fiatjaf/pouchdb — pull request #1 by fiatjaf (2013-12-02 23:30:18+00:00)
Title: better errors, a little code deduplication

The tests are passing, but I'm not confident in these errors and `Pouch.call(opts.complete, err)` calls.