Module rugged.exceptions.key_error
Expand source code
from rugged.lib.logger import get_logger
log = get_logger()
class RuggedKeyError(AttributeError):
def __init__(self, msg="Error loading TUF keys."):
self.msg = msg
log.debug(f"{ self.__class__.__name__ }: { msg }")
def __str__(self):
return self.msg
Classes
class RuggedKeyError (msg='Error loading TUF keys.')
-
Attribute not found.
Expand source code
class RuggedKeyError(AttributeError): def __init__(self, msg="Error loading TUF keys."): self.msg = msg log.debug(f"{ self.__class__.__name__ }: { msg }") def __str__(self): return self.msg
Ancestors
- builtins.AttributeError
- builtins.Exception
- builtins.BaseException