Module: Aws::ElastiCache::Errors
- Defined in:
- gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/errors.rb
Overview
When ElastiCache returns an error response, the Ruby SDK constructs and raises an error. These errors all extend Aws::ElastiCache::Errors::ServiceError < Aws::Errors::ServiceError
You can rescue all ElastiCache errors using ServiceError:
begin
# do stuff
rescue Aws::ElastiCache::Errors::ServiceError
# rescues all ElastiCache API errors
end
Request Context
ServiceError objects have a #context method that returns information about the request that generated the error. See Seahorse::Client::RequestContext for more information.
Error Classes
- APICallRateForCustomerExceededFault
- This error class is not used.
APICallRateForCustomerExceededis used during parsing instead.
- This error class is not used.
- AuthorizationAlreadyExistsFault
- This error class is not used.
AuthorizationAlreadyExistsis used during parsing instead.
- This error class is not used.
- AuthorizationNotFoundFault
- This error class is not used.
AuthorizationNotFoundis used during parsing instead.
- This error class is not used.
- CacheClusterAlreadyExistsFault
- This error class is not used.
CacheClusterAlreadyExistsis used during parsing instead.
- This error class is not used.
- CacheClusterNotFoundFault
- This error class is not used.
CacheClusterNotFoundis used during parsing instead.
- This error class is not used.
- CacheParameterGroupAlreadyExistsFault
- This error class is not used.
CacheParameterGroupAlreadyExistsis used during parsing instead.
- This error class is not used.
- CacheParameterGroupNotFoundFault
- This error class is not used.
CacheParameterGroupNotFoundis used during parsing instead.
- This error class is not used.
- CacheParameterGroupQuotaExceededFault
- This error class is not used.
CacheParameterGroupQuotaExceededis used during parsing instead.
- This error class is not used.
- CacheSecurityGroupAlreadyExistsFault
- This error class is not used.
CacheSecurityGroupAlreadyExistsis used during parsing instead.
- This error class is not used.
- CacheSecurityGroupNotFoundFault
- This error class is not used.
CacheSecurityGroupNotFoundis used during parsing instead.
- This error class is not used.
- CacheSecurityGroupQuotaExceededFault
- This error class is not used.
QuotaExceeded.CacheSecurityGroupis used during parsing instead.
- This error class is not used.
- CacheSubnetGroupAlreadyExistsFault
- This error class is not used.
CacheSubnetGroupAlreadyExistsis used during parsing instead.
- This error class is not used.
- CacheSubnetGroupInUse
- CacheSubnetGroupNotFoundFault
- CacheSubnetGroupQuotaExceededFault
- This error class is not used.
CacheSubnetGroupQuotaExceededis used during parsing instead.
- This error class is not used.
- CacheSubnetQuotaExceededFault
- ClusterQuotaForCustomerExceededFault
- This error class is not used.
ClusterQuotaForCustomerExceededis used during parsing instead.
- This error class is not used.
- DefaultUserAssociatedToUserGroupFault
- This error class is not used.
DefaultUserAssociatedToUserGroupis used during parsing instead.
- This error class is not used.
- DefaultUserRequired
- DuplicateUserNameFault
- This error class is not used.
DuplicateUserNameis used during parsing instead.
- This error class is not used.
- GlobalReplicationGroupAlreadyExistsFault
- GlobalReplicationGroupNotFoundFault
- InsufficientCacheClusterCapacityFault
- This error class is not used.
InsufficientCacheClusterCapacityis used during parsing instead.
- This error class is not used.
- InvalidARNFault
- This error class is not used.
InvalidARNis used during parsing instead.
- This error class is not used.
- InvalidCacheClusterStateFault
- This error class is not used.
InvalidCacheClusterStateis used during parsing instead.
- This error class is not used.
- InvalidCacheParameterGroupStateFault
- This error class is not used.
InvalidCacheParameterGroupStateis used during parsing instead.
- This error class is not used.
- InvalidCacheSecurityGroupStateFault
- This error class is not used.
InvalidCacheSecurityGroupStateis used during parsing instead.
- This error class is not used.
- InvalidCredentialsException
- InvalidGlobalReplicationGroupStateFault
- This error class is not used.
InvalidGlobalReplicationGroupStateis used during parsing instead.
- This error class is not used.
- InvalidKMSKeyFault
- InvalidParameterCombinationException
- This error class is not used.
InvalidParameterCombinationis used during parsing instead.
- This error class is not used.
- InvalidParameterValueException
- This error class is not used.
InvalidParameterValueis used during parsing instead.
- This error class is not used.
- InvalidReplicationGroupStateFault
- This error class is not used.
InvalidReplicationGroupStateis used during parsing instead.
- This error class is not used.
- InvalidServerlessCacheSnapshotStateFault
- InvalidServerlessCacheStateFault
- InvalidSnapshotStateFault
- This error class is not used.
InvalidSnapshotStateis used during parsing instead.
- This error class is not used.
- InvalidSubnet
- InvalidUserGroupStateFault
- This error class is not used.
InvalidUserGroupStateis used during parsing instead.
- This error class is not used.
- InvalidUserStateFault
- This error class is not used.
InvalidUserStateis used during parsing instead.
- This error class is not used.
- InvalidVPCNetworkStateFault
- NoOperationFault
- NodeGroupNotFoundFault
- NodeGroupsPerReplicationGroupQuotaExceededFault
- This error class is not used.
NodeGroupsPerReplicationGroupQuotaExceededis used during parsing instead.
- This error class is not used.
- NodeQuotaForClusterExceededFault
- This error class is not used.
NodeQuotaForClusterExceededis used during parsing instead.
- This error class is not used.
- NodeQuotaForCustomerExceededFault
- This error class is not used.
NodeQuotaForCustomerExceededis used during parsing instead.
- This error class is not used.
- ReplicationGroupAlreadyExistsFault
- This error class is not used.
ReplicationGroupAlreadyExistsis used during parsing instead.
- This error class is not used.
- ReplicationGroupAlreadyUnderMigrationFault
- ReplicationGroupNotFoundFault
- ReplicationGroupNotUnderMigrationFault
- ReservedCacheNodeAlreadyExistsFault
- This error class is not used.
ReservedCacheNodeAlreadyExistsis used during parsing instead.
- This error class is not used.
- ReservedCacheNodeNotFoundFault
- This error class is not used.
ReservedCacheNodeNotFoundis used during parsing instead.
- This error class is not used.
- ReservedCacheNodeQuotaExceededFault
- This error class is not used.
ReservedCacheNodeQuotaExceededis used during parsing instead.
- This error class is not used.
- ReservedCacheNodesOfferingNotFoundFault
- This error class is not used.
ReservedCacheNodesOfferingNotFoundis used during parsing instead.
- This error class is not used.
- ServerlessCacheAlreadyExistsFault
- ServerlessCacheNotFoundFault
- ServerlessCacheQuotaForCustomerExceededFault
- ServerlessCacheSnapshotAlreadyExistsFault
- ServerlessCacheSnapshotNotFoundFault
- ServerlessCacheSnapshotQuotaExceededFault
- ServiceLinkedRoleNotFoundFault
- ServiceUpdateNotFoundFault
- SnapshotAlreadyExistsFault
- SnapshotFeatureNotSupportedFault
- SnapshotNotFoundFault
- SnapshotQuotaExceededFault
- SubnetInUse
- SubnetNotAllowedFault
- TagNotFoundFault
- This error class is not used.
TagNotFoundis used during parsing instead.
- This error class is not used.
- TagQuotaPerResourceExceeded
- TestFailoverNotAvailableFault
- UserAlreadyExistsFault
- This error class is not used.
UserAlreadyExistsis used during parsing instead.
- This error class is not used.
- UserGroupAlreadyExistsFault
- This error class is not used.
UserGroupAlreadyExistsis used during parsing instead.
- This error class is not used.
- UserGroupNotFoundFault
- This error class is not used.
UserGroupNotFoundis used during parsing instead.
- This error class is not used.
- UserGroupQuotaExceededFault
- This error class is not used.
UserGroupQuotaExceededis used during parsing instead.
- This error class is not used.
- UserNotFoundFault
- This error class is not used.
UserNotFoundis used during parsing instead.
- This error class is not used.
- UserQuotaExceededFault
- This error class is not used.
UserQuotaExceededis used during parsing instead.
- This error class is not used.
Additionally, error classes are dynamically generated for service errors based on the error code if they are not defined above.
Defined Under Namespace
Classes: APICallRateForCustomerExceededFault, AuthorizationAlreadyExistsFault, AuthorizationNotFoundFault, CacheClusterAlreadyExistsFault, CacheClusterNotFoundFault, CacheParameterGroupAlreadyExistsFault, CacheParameterGroupNotFoundFault, CacheParameterGroupQuotaExceededFault, CacheSecurityGroupAlreadyExistsFault, CacheSecurityGroupNotFoundFault, CacheSecurityGroupQuotaExceededFault, CacheSubnetGroupAlreadyExistsFault, CacheSubnetGroupInUse, CacheSubnetGroupNotFoundFault, CacheSubnetGroupQuotaExceededFault, CacheSubnetQuotaExceededFault, ClusterQuotaForCustomerExceededFault, DefaultUserAssociatedToUserGroupFault, DefaultUserRequired, DuplicateUserNameFault, GlobalReplicationGroupAlreadyExistsFault, GlobalReplicationGroupNotFoundFault, InsufficientCacheClusterCapacityFault, InvalidARNFault, InvalidCacheClusterStateFault, InvalidCacheParameterGroupStateFault, InvalidCacheSecurityGroupStateFault, InvalidCredentialsException, InvalidGlobalReplicationGroupStateFault, InvalidKMSKeyFault, InvalidParameterCombinationException, InvalidParameterValueException, InvalidReplicationGroupStateFault, InvalidServerlessCacheSnapshotStateFault, InvalidServerlessCacheStateFault, InvalidSnapshotStateFault, InvalidSubnet, InvalidUserGroupStateFault, InvalidUserStateFault, InvalidVPCNetworkStateFault, NoOperationFault, NodeGroupNotFoundFault, NodeGroupsPerReplicationGroupQuotaExceededFault, NodeQuotaForClusterExceededFault, NodeQuotaForCustomerExceededFault, ReplicationGroupAlreadyExistsFault, ReplicationGroupAlreadyUnderMigrationFault, ReplicationGroupNotFoundFault, ReplicationGroupNotUnderMigrationFault, ReservedCacheNodeAlreadyExistsFault, ReservedCacheNodeNotFoundFault, ReservedCacheNodeQuotaExceededFault, ReservedCacheNodesOfferingNotFoundFault, ServerlessCacheAlreadyExistsFault, ServerlessCacheNotFoundFault, ServerlessCacheQuotaForCustomerExceededFault, ServerlessCacheSnapshotAlreadyExistsFault, ServerlessCacheSnapshotNotFoundFault, ServerlessCacheSnapshotQuotaExceededFault, ServiceLinkedRoleNotFoundFault, ServiceUpdateNotFoundFault, SnapshotAlreadyExistsFault, SnapshotFeatureNotSupportedFault, SnapshotNotFoundFault, SnapshotQuotaExceededFault, SubnetInUse, SubnetNotAllowedFault, TagNotFoundFault, TagQuotaPerResourceExceeded, TestFailoverNotAvailableFault, UserAlreadyExistsFault, UserGroupAlreadyExistsFault, UserGroupNotFoundFault, UserGroupQuotaExceededFault, UserNotFoundFault, UserQuotaExceededFault