Class: Aws::CloudFront::Errors::EntityNotFound
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::CloudFront::Errors::EntityNotFound
- Defined in:
- lib/aws-sdk-cloudfront/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ EntityNotFound
constructor
A new instance of EntityNotFound.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ EntityNotFound
Returns a new instance of EntityNotFound.
416 417 418 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 416 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
421 422 423 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 421 def @message || @data[:message] end |