Class: Aws::LicenseManager::Errors::InvalidResourceStateException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of InvalidResourceStateException.

Parameters:



127
128
129
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/errors.rb', line 127

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

Instance Method Details

#messageString

Returns:

  • (String)


132
133
134
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/errors.rb', line 132

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