Class: Aws::CloudFront::Errors::NoSuchResource
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::CloudFront::Errors::NoSuchResource
- Defined in:
- lib/aws-sdk-cloudfront/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ NoSuchResource
constructor
A new instance of NoSuchResource.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ NoSuchResource
Returns a new instance of NoSuchResource.
770 771 772 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 770 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
775 776 777 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 775 def @message || @data[:message] end |