Class: Aws::CloudFront::Errors::FunctionInUse
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::CloudFront::Errors::FunctionInUse
- Defined in:
- lib/aws-sdk-cloudfront/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ FunctionInUse
constructor
A new instance of FunctionInUse.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ FunctionInUse
Returns a new instance of FunctionInUse.
536 537 538 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 536 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
541 542 543 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 541 def @message || @data[:message] end |