Module aws_lambda_powertools.utilities.feature_flags.exceptions

Expand source code
class ConfigurationStoreError(Exception):
    """When a configuration store raises an exception on config retrieval or parsing"""


class SchemaValidationError(Exception):
    """When feature flag schema fails validation"""


class StoreClientError(Exception):
    """When a store raises an exception that should be propagated to the client to fix

    For example, Access Denied errors when the client doesn't permissions to fetch config
    """

Classes

class ConfigurationStoreError (*args, **kwargs)

When a configuration store raises an exception on config retrieval or parsing

Expand source code
class ConfigurationStoreError(Exception):
    """When a configuration store raises an exception on config retrieval or parsing"""

Ancestors

  • builtins.Exception
  • builtins.BaseException
class SchemaValidationError (*args, **kwargs)

When feature flag schema fails validation

Expand source code
class SchemaValidationError(Exception):
    """When feature flag schema fails validation"""

Ancestors

  • builtins.Exception
  • builtins.BaseException
class StoreClientError (*args, **kwargs)

When a store raises an exception that should be propagated to the client to fix

For example, Access Denied errors when the client doesn't permissions to fetch config

Expand source code
class StoreClientError(Exception):
    """When a store raises an exception that should be propagated to the client to fix

    For example, Access Denied errors when the client doesn't permissions to fetch config
    """

Ancestors

  • builtins.Exception
  • builtins.BaseException