Class: Aws::KMS::Errors::InvalidArnException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of InvalidArnException.

Parameters:



331
332
333
# File 'gems/aws-sdk-kms/lib/aws-sdk-kms/errors.rb', line 331

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

Instance Method Details

#messageString

Returns:

  • (String)


336
337
338
# File 'gems/aws-sdk-kms/lib/aws-sdk-kms/errors.rb', line 336

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