benoitc / couchbeam

Apache CouchDB client in Erlang
Other
242 stars 113 forks source link

fetch/3: Conflicting return types in documentation and spec #136

Closed KaiHa closed 7 years ago

KaiHa commented 8 years ago

Hi,

the function _couchbeamview:fetch/3 has different return types in documentation and spec.

In case of an error says the documentation that a tuple of 3 is returned, the spec that a tuple of 2 is returned. I am not 100% sure, but I think the spec is right.