Class: Aws::CloudFront::Errors::NoSuchDistribution
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::CloudFront::Errors::NoSuchDistribution
- Defined in:
- lib/aws-sdk-cloudfront/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ NoSuchDistribution
constructor
A new instance of NoSuchDistribution.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ NoSuchDistribution
Returns a new instance of NoSuchDistribution.
1137 1138 1139 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1137 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
1142 1143 1144 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1142 def @message || @data[:message] end |