Better error reporting #12

helun opened this Issue Jun 29, 2011 · 0 comments

1 participant


It should be possible to determine if an DbAccessException was caused by the client or the server.
If couchdb responds with http status in the 400 it is a client error, 500 is a server error.

This could be reflected by inserting new types in the exception hierarchy:

It is important that a network error easily can be distinguished from an exception caused by wrong usage of the API

@helun helun closed this Jun 26, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment