Exception: AwsSdb::ConnectionError
- Defined in:
- lib/aws_sdb/error.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response) ⇒ ConnectionError
constructor
A new instance of ConnectionError.
Constructor Details
#initialize(response) ⇒ ConnectionError
Returns a new instance of ConnectionError.
43 44 45 46 47 48 49 |
# File 'lib/aws_sdb/error.rb', line 43 def initialize(response) super( "#{response.code} \ #{response. if response.respond_to?(:message)}" ) @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
41 42 43 |
# File 'lib/aws_sdb/error.rb', line 41 def response @response end |