jiveapi.exceptions module

exception jiveapi.exceptions.ContentConflictException(response)[source]

Bases: jiveapi.exceptions.RequestFailedException

Exception raised when the Jive server response indicates that there is a conflict between the submitted content and content already in the system, such as two content objects of the same type with the same name.

Parameters:response (requests.Response) – the response that generated this exception
_message_for_response(resp)[source]
exception jiveapi.exceptions.RequestFailedException(response)[source]

Bases: RuntimeError

Exception raised when a Jive server response contains a HTTP status code that indicates an error, or is not the expected status code for the request.

Parameters:response (requests.Response) – the response that generated this exception
_message_for_response(resp)[source]