Exceptions

Most errors you encounter in aiocouch stem from HTTP request to the CouchDB server. Most of those are therefore captured an transformed into exceptions. There might still be other errors, however those should not be encountered under normal operation.

For further details, what can cause individual status codes, see also HTTP Status codes.

exception aiocouch.BadRequestError

Represents a 400 HTTP status code returned from the server

exception aiocouch.ConflictError

Represents a 409 HTTP status code returned from the server

exception aiocouch.ExpectationFailedError

Represents a 417 HTTP status code returned from the server

exception aiocouch.ForbiddenError

Represents a 403 HTTP status code returned from the server

exception aiocouch.NotFoundError

Represents a 404 HTTP status code returned from the server

exception aiocouch.PreconditionFailedError

Represents a 412 HTTP status code returned from the server

exception aiocouch.UnauthorizedError

Represents a 401 HTTP status code returned from the server

exception aiocouch.UnsupportedMediaTypeError

Represents a 415 HTTP status code returned from the server