Class: Aws::CloudFront::Errors::NoSuchOrigin
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::CloudFront::Errors::NoSuchOrigin
- Defined in:
- lib/aws-sdk-cloudfront/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ NoSuchOrigin
constructor
A new instance of NoSuchOrigin.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ NoSuchOrigin
Returns a new instance of NoSuchOrigin.
1211 1212 1213 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1211 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
1216 1217 1218 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1216 def @message || @data[:message] end |