Exception: Cloudfront::Errors::CloudfrontError
- Inherits:
-
StandardError
- Object
- StandardError
- Cloudfront::Errors::CloudfrontError
- Defined in:
- lib/cloudfront/errors/cloudfront_error.rb
Direct Known Subclasses
CNAMEAlreadyExistsError, DistributionAlreadyExistsError, IllegalUpdateError, InvalidOriginAccessIdentityError, InvalidOriginError, InvalidRequiredProtocolError, MissingBodyError, PreconditionFailedError, TooManyDistributionCNAMEsError, TooManyDistributionsError, TooManyTrustedSignersError, TrustedSignerDoesNotExistError
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(message, response = nil) ⇒ CloudfrontError
constructor
A new instance of CloudfrontError.
Constructor Details
#initialize(message, response = nil) ⇒ CloudfrontError
Returns a new instance of CloudfrontError.
7 8 9 10 |
# File 'lib/cloudfront/errors/cloudfront_error.rb', line 7 def initialize(, response = nil) super() @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
6 7 8 |
# File 'lib/cloudfront/errors/cloudfront_error.rb', line 6 def response @response end |