Class: Aws::CloudFront::Errors::ResourceInUse
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::CloudFront::Errors::ResourceInUse
- Defined in:
- lib/aws-sdk-cloudfront/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.
1496 1497 1498 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1496 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
1501 1502 1503 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1501 def @message || @data[:message] end |