Class: Aws::ServiceDiscovery::Errors::ResourceInUse
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::ServiceDiscovery::Errors::ResourceInUse
- Defined in:
- lib/aws-sdk-servicediscovery/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourceInUse
constructor
A new instance of ResourceInUse.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourceInUse
Returns a new instance of ResourceInUse.
192 193 194 |
# File 'lib/aws-sdk-servicediscovery/errors.rb', line 192 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
197 198 199 |
# File 'lib/aws-sdk-servicediscovery/errors.rb', line 197 def @message || @data[:message] end |