Class: Aws::KMS::Errors::InvalidCiphertextException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of InvalidCiphertextException.

Parameters:



390
391
392
# File 'lib/aws-sdk-kms/errors.rb', line 390

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

Instance Method Details

#messageString

Returns:

  • (String)


395
396
397
# File 'lib/aws-sdk-kms/errors.rb', line 395

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