Skip to content
This repository has been archived by the owner on Oct 27, 2024. It is now read-only.

Improved Exception handling #19

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

JagexJenesis
Copy link

Hi guys,

Thanks for sharing Divan with the world, it's made working with Couch for the first time much less difficult than it might have been. While I was still getting to grips with Couch and doing many things wrong, I found that the way Divan deals with Couch errors wasn't what I expected, and could perhaps be improved. I'm now sharing those changes with you for potential inclusion in the mainline. Jagex is happy for this code to be shared under the MIT License.

Thanks again,

Chris Knowles

…eption. This makes it simpler for code calling into Divan to catch any errors thrown, and means that errors thrown will be consistent in whether they contain a StatusCode.
…hat we now receive a CouchConflictException rather than an error about the JSON object.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant