Class: Aws::CloudFront::Errors::CannotDeleteEntityWhileInUse
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::CloudFront::Errors::CannotDeleteEntityWhileInUse
- Defined in:
- gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ CannotDeleteEntityWhileInUse
constructor
A new instance of CannotDeleteEntityWhileInUse.
-
#message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ CannotDeleteEntityWhileInUse
Returns a new instance of CannotDeleteEntityWhileInUse.
282 283 284 |
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/errors.rb', line 282 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
287 288 289 |
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/errors.rb', line 287 def @message || @data[:message] end |