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

Inherits:
ServiceError
  • Object
show all
Defined in:
gems/aws-sdk-imagebuilder/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 'gems/aws-sdk-imagebuilder/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 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/errors.rb', line 244

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