Class: Aws::ECR::Errors::KmsException

Inherits:
ServiceError
  • Object
show all
Defined in:
gems/aws-sdk-ecr/lib/aws-sdk-ecr/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ KmsException

Returns a new instance of KmsException.

Parameters:



225
226
227
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/errors.rb', line 225

def initialize(context, message, data = Aws::EmptyStructure.new)
  super(context, message, data)
end

Instance Method Details

#kms_errorString

Returns:

  • (String)


235
236
237
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/errors.rb', line 235

def kms_error
  @data[:kms_error]
end

#messageString

Returns:

  • (String)


230
231
232
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/errors.rb', line 230

def message
  @message || @data[:message]
end