Exception: Cloudfront::Errors::CloudfrontError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/cloudfront/errors/cloudfront_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(message, response = nil)
  super(message)
  @response = response
end

Instance Attribute Details

#responseObject (readonly)

Returns the value of attribute response.



6
7
8
# File 'lib/cloudfront/errors/cloudfront_error.rb', line 6

def response
  @response
end