Class: Aws::Imagebuilder::Errors::ResourceInUseException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Imagebuilder::Errors::ResourceInUseException
- Defined in:
- lib/aws-sdk-imagebuilder/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourceInUseException
constructor
A new instance of ResourceInUseException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourceInUseException
Returns a new instance of ResourceInUseException.
239 240 241 |
# File 'lib/aws-sdk-imagebuilder/errors.rb', line 239 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
244 245 246 |
# File 'lib/aws-sdk-imagebuilder/errors.rb', line 244 def @message || @data[:message] end |