application.exceptions package#

Module contents#

application.exceptions

exception application.exceptions.AuthenticationError(attempts_remaining=None)#

Bases: ClientError

Raised when authentication fails.

exception application.exceptions.BadUserNameError#

Bases: ClientError

Raised when a username is invalid.

exception application.exceptions.BlobDoesNotExistError(id)#

Bases: ClientError

Raised when a blob does not exist.

exception application.exceptions.BookCannotBeShared(msg)#

Bases: ClientError

Raised when a book cannot be shared.

exception application.exceptions.BookTagDoesNotExistError(id)#

Bases: ClientError

Raised when a book tag does not exist.

exception application.exceptions.BookTagExistsError(id)#

Bases: ClientError

Raised when a book tag already exists.

exception application.exceptions.BugReportDoesNotExistError(id)#

Bases: ClientError

Raised when a bug report does not exist.

exception application.exceptions.ClientError#

Bases: Exception

Base class for errors caused by a client query.

exception application.exceptions.DocumentDoesNotExistError(id)#

Bases: ClientError

Raised when a document does not exist.

exception application.exceptions.FeedDocumentDoesNotExistError(id)#

Bases: ClientError

Raised when a feed document does not exist.

exception application.exceptions.FeedDoesNotExistError(id)#

Bases: ClientError

Raised when a feed does not exist.

exception application.exceptions.InsufficientDiskSpace#

Bases: ClientError

Raised when there is not enough disk space.

exception application.exceptions.InvalidColor(value)#

Bases: ValueError

Raised when a color string is not a valid 7-character hex color.

exception application.exceptions.InvalidFeedKindError(kind)#

Bases: ClientError

Raised when a feed kind is not supported.

exception application.exceptions.InvalidJWTError#

Bases: ClientError

Raised when a JSON web token is invalid.

exception application.exceptions.InvalidPhone#

Bases: ValueError

Raised when a phone number is not exactly 10 digits.

exception application.exceptions.InvalidSize(value)#

Bases: ValueError

Raised when a size string is not a valid CSS size.

exception application.exceptions.InvalidSubscriptionToken#

Bases: ClientError

Raised when a notification subscription token is invalid.

exception application.exceptions.ItemDoesNotExistError(id)#

Bases: ClientError

Raised when an item does not exist.

exception application.exceptions.ItemExistsError(id)#

Bases: ClientError

Raised when an item already exists.

exception application.exceptions.MissingConfig(config_name)#

Bases: ClientError

Raised when a required config item is missing.

exception application.exceptions.SubsonicError#

Bases: ClientError

Raised when an attempt to query Subsonic is made without being configured correctly.

exception application.exceptions.UserDoesNotExistError(username)#

Bases: ClientError

Raised when a user does not exist.

exception application.exceptions.UserExistsError(username)#

Bases: ClientError

Raised when a user already exists.

exception application.exceptions.UserIsLocked#

Bases: ClientError

Raised when a user is locked.

exception application.exceptions.WebPushException(msg)#

Bases: ClientError

Raised when there is an error sending a web push notification.