Class: Aws::CloudFront::Errors::InvalidOrigin
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::CloudFront::Errors::InvalidOrigin
- Defined in:
- lib/aws-sdk-cloudfront/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidOrigin
constructor
A new instance of InvalidOrigin.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidOrigin
Returns a new instance of InvalidOrigin.
837 838 839 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 837 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
842 843 844 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 842 def @message || @data[:message] end |