Class: Aws::CloudFront::Errors::TooManyOrigins
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::CloudFront::Errors::TooManyOrigins
- Defined in:
- lib/aws-sdk-cloudfront/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ TooManyOrigins
constructor
A new instance of TooManyOrigins.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ TooManyOrigins
Returns a new instance of TooManyOrigins.
2201 2202 2203 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 2201 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
2206 2207 2208 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 2206 def @message || @data[:message] end |