cligram.exceptions

exception cligram.exceptions.ApplicationAlreadyRunningError[source]

Bases: ApplicationError

Raised when there is an attempt to start the application while it is already running.

exception cligram.exceptions.ApplicationError[source]

Bases: CligramError

Base exception class for application-related errors.

exception cligram.exceptions.ApplicationNotRunningError[source]

Bases: ApplicationError

Raised when there is an attempt to perform an operation that requires the application to be running.

exception cligram.exceptions.ArchiveError[source]

Bases: CligramError

Base exception for archive-related errors in cligram.

exception cligram.exceptions.CligramError[source]

Bases: Exception

Base exception class for cligram errors.

exception cligram.exceptions.ConfigError[source]

Bases: CligramError

Base exception class for configuration-related errors.

exception cligram.exceptions.ConfigSearchError[source]

Bases: ConfigError

Raised when there is an error searching for the configuration file.

exception cligram.exceptions.ConnectionError[source]

Bases: CligramError

Raised when a connection error occurs.

exception cligram.exceptions.EmptyArchiveError[source]

Bases: InvalidArchiveError

Exception raised when attempting to access an empty archive.

exception cligram.exceptions.InvalidArchiveError[source]

Bases: ArchiveError

Exception raised for invalid or corrupted archive files.

exception cligram.exceptions.InvalidCompressionTypeError[source]

Bases: ArchiveError

Exception raised for unsupported compression types in archives.

exception cligram.exceptions.InvalidPasswordError[source]

Bases: ArchiveError

Exception raised for incorrect passwords when accessing encrypted archives.

exception cligram.exceptions.InvalidPathError[source]

Bases: CligramError

Exception raised for invalid file or directory paths.

exception cligram.exceptions.NoWorkingConnectionError[source]

Bases: ConnectionError

Raised when no working connection (direct or proxy) is available.

exception cligram.exceptions.SessionError[source]

Bases: CligramError

Base exception class for session-related errors.

exception cligram.exceptions.SessionMismatchError[source]

Bases: SessionError

Raised when the session’s API ID does not match the configured API ID.

exception cligram.exceptions.SessionNotFoundError[source]

Bases: SessionError, FileNotFoundError

Raised when the specified session file is not found.

exception cligram.exceptions.SizeLimitExceededError[source]

Bases: ArchiveError

Exception raised when an archive exceeds the maximum allowed size.

exception cligram.exceptions.VersionError[source]

Bases: CligramError

Raised when there is a version-related error.