Skip to content

Module ciocore.exceptions

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

Classes

BackendDown

BackendDown(*args, **kwargs)

Backend is down

Ancestors (in MRO)

  • builtins.Exception
  • builtins.BaseException

BackendError

BackendError(*args, **kwargs)

Something happened on the backend

Ancestors (in MRO)

  • builtins.Exception
  • builtins.BaseException

DownloaderExit

DownloaderExit(*args, **kwargs)

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.

Ancestors (in MRO)

  • builtins.SystemExit
  • builtins.BaseException

FailDownload

FailDownload(*args, **kwargs)

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.

Ancestors (in MRO)

  • builtins.Exception
  • builtins.BaseException

FilePutError

FilePutError(*args, **kwargs)

Something happened during the put

Ancestors (in MRO)

  • builtins.Exception
  • builtins.BaseException

InvalidPathException

InvalidPathException(*args, **kwargs)

A path is invalid

Ancestors (in MRO)

  • builtins.Exception
  • builtins.BaseException

UploaderMissingFile

UploaderMissingFile(*args, **kwargs)

A file is missing

Ancestors (in MRO)

  • builtins.Exception
  • builtins.BaseException

UploaderFileModified

UploaderFileModified(*args, **kwargs)

Something wrong with a local file

Ancestors (in MRO)

  • builtins.Exception
  • builtins.BaseException

UserCanceledError

UserCanceledError(*args, **kwargs)

Custom Exception to indicate that the user cancelled their action

Ancestors (in MRO)

  • builtins.Exception
  • builtins.BaseException
Back to top