errors - RestAuth related errors

This module collects various general exceptions that might be thrown on many different (or all) RestAuth methods.

exception RestAuthClient.error.GroupExists[source]

Thrown when a Group that already exists should be created.

exception RestAuthClient.error.HttpException(cause)[source]

Thrown when the HTTP request throws an execption. This most likely means that the RestAuth server is unreachable.

Parameters:cause (Exception) – The exception causing this exception to be created.
get_cause()[source]

Get the exception that caused this exception.

Returns:The exception that caused this exception
Return type:Exception
exception RestAuthClient.error.PropertyExists[source]

Thrown when attempting to create a property that already exists.

exception RestAuthClient.error.UnknownStatus[source]

Thrown when a method returns an unexpected status.

This exception can be thrown by every method that interacts with the RestAuth service.

exception RestAuthClient.error.UserExists[source]

Thrown when attempting to create a User that already exists.

Previous topic

group - group handling

This Page