Class: Aws::ECR::Errors::KmsException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::ECR::Errors::KmsException
- Defined in:
- gems/aws-sdk-ecr/lib/aws-sdk-ecr/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ KmsException
constructor
A new instance of KmsException.
-
#kms_error ⇒ String
-
#message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ KmsException
Returns a new instance of KmsException.
322 323 324 |
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/errors.rb', line 322 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#kms_error ⇒ String
332 333 334 |
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/errors.rb', line 332 def kms_error @data[:kms_error] end |
#message ⇒ String
327 328 329 |
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/errors.rb', line 327 def @message || @data[:message] end |