You are viewing documentation for version 1 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Exception: AWS::S3::Errors::IncorrectClientSideEncryptionKey

Inherits:
Errors::Base
  • Object
show all
Includes:
Errors::ClientError
Defined in:
lib/aws/s3/errors.rb

Overview

This error is special, because S3 must first retrieve the client side encryption key in it's encrypted form before finding if the key is incorrect.

Instance Attribute Summary

Attributes inherited from Errors::Base

#code, #http_request, #http_response

Instance Method Summary collapse

Constructor Details

#initialize(msg) ⇒ IncorrectClientSideEncryptionKey

Returns a new instance of IncorrectClientSideEncryptionKey



85
86
87
88
89
90
# File 'lib/aws/s3/errors.rb', line 85

def initialize(msg)
  super("",
        "",
        "IncorrectClientSideEncryptionKey",
        msg)
end