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.
1213 1214 1215 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1213 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
1218 1219 1220 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1218 def @message || @data[:message] end |