Exception: CloudParty::Errors::ConnectionError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/cloud_party/exceptions.rb

Overview

### ConnectionError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, response) ⇒ ConnectionError

Returns a new instance of ConnectionError.



13
14
15
16
# File 'lib/cloud_party/exceptions.rb', line 13

def initialize(message, response)
  super(message)
  @response = response
end

Instance Attribute Details

#responseObject (readonly)

Returns the value of attribute response.



11
12
13
# File 'lib/cloud_party/exceptions.rb', line 11

def response
  @response
end