diff --git a/juju/client/jujudata.py b/juju/client/jujudata.py index ce9f5ae9..67976e60 100644 --- a/juju/client/jujudata.py +++ b/juju/client/jujudata.py @@ -15,6 +15,7 @@ API_ENDPOINTS_KEY = 'api-endpoints' + class NoModelException(Exception): pass diff --git a/juju/errors.py b/juju/errors.py index 08831a6e..2232420c 100644 --- a/juju/errors.py +++ b/juju/errors.py @@ -89,9 +89,11 @@ class JujuUnitError(JujuError): class JujuBackupError(JujuError): pass + class PylibjujuProgrammingError(Exception): pass + class JujuNotValid(JujuError): def __init__(self, entity_type, entity_name): self.entity_type = entity_type