boto3_client_cache.exceptions

Custom exceptions and warning types for boto3-client-cache.

Exceptions

CacheError

The base exception for boto3-client-cache.

ClientCacheError

The base exception for boto3-client-cache client cache errors.

ClientCacheExistsError

Raised when attempting to add a client to the cache that already exists.

ClientCacheNotFoundError

Raised when a client is not found in the cache.

ResourceCacheError

The base exception for boto3-client-cache resource cache errors.

ResourceCacheExistsError

Raised when attempting to add a resource to the cache that already exists.

ResourceCacheNotFoundError

Raised when a resource is not found in the cache.

exception boto3_client_cache.exceptions.CacheError[source]

The base exception for boto3-client-cache.

Added in version 2.0.0.

Parameters:
messagestr, optional

The message to raise.

codestr | int, optional

A short machine-friendly code for the error.

status_codeint, optional

An HTTP status code, if applicable.

detailsDict[str, Any], optional

Extra structured metadata for debugging or logging.

paramstr, optional

The parameter name related to the error.

valueAny, optional

The parameter value related to the error.

with_traceback()[source]

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception boto3_client_cache.exceptions.ClientCacheError[source]

The base exception for boto3-client-cache client cache errors.

Added in version 0.1.0.

with_traceback()[source]

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception boto3_client_cache.exceptions.ClientCacheExistsError[source]

Raised when attempting to add a client to the cache that already exists.

Added in version 0.1.0.

with_traceback()[source]

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception boto3_client_cache.exceptions.ClientCacheNotFoundError[source]

Raised when a client is not found in the cache.

Added in version 0.1.0.

with_traceback()[source]

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception boto3_client_cache.exceptions.ResourceCacheError[source]

The base exception for boto3-client-cache resource cache errors.

Added in version 2.0.0.

with_traceback()[source]

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception boto3_client_cache.exceptions.ResourceCacheExistsError[source]

Raised when attempting to add a resource to the cache that already exists.

Added in version 2.0.0.

with_traceback()[source]

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception boto3_client_cache.exceptions.ResourceCacheNotFoundError[source]

Raised when a resource is not found in the cache.

Added in version 2.0.0.

with_traceback()[source]

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.