Source code for infrahouse_core.aws.exceptions

"""Top level exceptions.

The exception hierarchy repeats the structure of the infrahouse_core package.
Each module in the package has its own exceptions.py module.
The module exceptions are inherited from the upper module exceptions.

"""

from infrahouse_core.exceptions import IHCoreException


[docs] class IHAWSException(IHCoreException): """AWS related InfraHouse exception"""
[docs] class IHDynamoDBException(IHAWSException): """DynamoDB related InfraHouse exception"""
[docs] class IHItemNotFound(IHDynamoDBException): """Requested DynamoDB item doesn't exist"""
[docs] class IHSecretsManagerException(IHAWSException): """Secrets Manager related InfraHouse exception"""
[docs] class IHSecretNotFound(IHSecretsManagerException): """Requested secret doesn't exist"""