GitHub user iilyak opened a pull request:
https://github.com/apache/couchdb-fabric/pull/79
Add `{error, Reason}` to typespecs
`fabric:design_docs/1` and `all_docs/5` can return `{error, Reason}`
see
[here](https://github.com/apache/couchdb-fabric/blob/master/src/fabric_view_all_docs.erl#L46)
and
[here](https://github.com/apache/couchdb-fabric/blob/master/src/fabric.erl#L427)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cloudant/couchdb-fabric fix-typespecs
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-fabric/pull/79.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #79
----
commit 5e7e170525c9cfc7430e8cc81ace949e67d2da47
Author: ILYA Khlopotov <[email protected]>
Date: 2016-11-16T21:57:29Z
Add `{error, Reason}` to typespecs
`fabric:design_docs/1` and `all_docs/5` can return `{error, Reason}`
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---