metricq / aiocouch

🛋 An asynchronous client library for CouchDB 2.x and 3.x
https://aiocouch.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
29 stars 10 forks source link

Catch and wrap HTTP 403 Forbidden errors #15

Closed adrienverge closed 4 years ago

adrienverge commented 4 years ago

Based on #13.


Fixes https://github.com/metricq/aiocouch/issues/14.

adrienverge commented 4 years ago

OK.

Beware, you merged commit "Access database._security document" while merging this PR: it was based on #13. You'll maybe want to revert that commit.

EDIT: It's fine, I see you've removed that code in another commit :+1: