Class: Aws::KMS::Errors::IncorrectKeyException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::KMS::Errors::IncorrectKeyException
- Defined in:
- gems/aws-sdk-kms/lib/aws-sdk-kms/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ IncorrectKeyException
constructor
A new instance of IncorrectKeyException.
-
#message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ IncorrectKeyException
Returns a new instance of IncorrectKeyException.
315 316 317 |
# File 'gems/aws-sdk-kms/lib/aws-sdk-kms/errors.rb', line 315 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
320 321 322 |
# File 'gems/aws-sdk-kms/lib/aws-sdk-kms/errors.rb', line 320 def @message || @data[:message] end |