Class: Aws::Imagebuilder::Errors::ResourceInUseException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ResourceInUseException.

Parameters:



239
240
241
# File 'lib/aws-sdk-imagebuilder/errors.rb', line 239

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

Instance Method Details

#messageString

Returns:

  • (String)


244
245
246
# File 'lib/aws-sdk-imagebuilder/errors.rb', line 244

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