Class: Aws::CloudFront::Errors::InvalidRequiredProtocol
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::CloudFront::Errors::InvalidRequiredProtocol
- Defined in:
- lib/aws-sdk-cloudfront/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidRequiredProtocol
constructor
A new instance of InvalidRequiredProtocol.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidRequiredProtocol
Returns a new instance of InvalidRequiredProtocol.
941 942 943 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 941 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
946 947 948 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 946 def @message || @data[:message] end |