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.
33 34 35 36 37 38 39 |
# File 'lib/aws_sdb/error.rb', line 33 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.
31 32 33 |
# File 'lib/aws_sdb/error.rb', line 31 def response @response end |