Exceptions

exception AuthenticationError(server_url, username, password)

Exception class for authentication errors.

Parameters:
  • server_url (str) – URL of the server
  • username (str) – (optional) name of the authenticating user
exception GNUSocialAPIError(error_message)

Exception class for API errors.

Parameters:error_message (str) – API error message
exception ServerURLError(server_url)

Exception class for invalid server URLs.

Parameters:server_url (str) – URL of the server