Class: Aws::SSM::Errors::InvalidDocumentType

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of InvalidDocumentType.

Parameters:



825
826
827
# File 'lib/aws-sdk-ssm/errors.rb', line 825

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

Instance Method Details

#messageString

Returns:

  • (String)


830
831
832
# File 'lib/aws-sdk-ssm/errors.rb', line 830

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