conductor.lib.exceptions module

exceptions module

This module handles all custom exceptions for the Conductor Client Tools All exceptions should at minimum inherit off of the Exception base class

exception conductor.lib.exceptions.BackendDown

Bases: exceptions.Exception

Backend is down

exception conductor.lib.exceptions.BackendError

Bases: exceptions.Exception

Something happened on the backend

exception conductor.lib.exceptions.DownloaderExit

Bases: exceptions.SystemExit

Custom exception to handle (and raise) when the DownloadWorker processes should be halted. This subclasses the SystemExit builtin exception. Raising it will exit the process with the given return code.

exception conductor.lib.exceptions.FailDownload

Bases: exceptions.Exception

Custom exception to raise when a download should be failed. This may be due to a variety of reasons, such as the remote file not existing, or not having adequate permissions for writing to a local disk, etc. This exception is used to bypass the retry decorator so that the download is NOT retried.

exception conductor.lib.exceptions.FilePutError

Bases: exceptions.Exception

Something happened during the put

exception conductor.lib.exceptions.InvalidPathException

Bases: exceptions.Exception

A path is invalid

exception conductor.lib.exceptions.UploaderFileModified

Bases: exceptions.Exception

Something wrong with a local file

exception conductor.lib.exceptions.UploaderMissingFile

Bases: exceptions.Exception

A file is missing

exception conductor.lib.exceptions.UserCanceledError

Bases: exceptions.Exception

Custom Exception to indicate that the user cancelled their action