Module rugged.exceptions.storage_error

Classes

class RuggedStorageError (msg='The repository could not create the needed directories.')
Expand source code
class RuggedStorageError(StorageError):

    def __init__(
        self,
        msg="The repository could not create the needed directories."
    ):
        self.msg = msg
        log.debug(f"{self.__class__.__name__}: {msg}")

    def __str__(self):
        return self.msg

Indicate an error occured during interaction with an abstracted storage backend.

Ancestors

  • securesystemslib.exceptions.StorageError
  • securesystemslib.exceptions.Error
  • builtins.Exception
  • builtins.BaseException