Exception: Seekmodo::Sdk::Storefront::Transport::NetworkError

Inherits:
Error
  • Object
show all
Defined in:
lib/seekmodo/sdk/storefront/transport.rb

Instance Attribute Summary collapse

Attributes inherited from Error

#tool

Instance Method Summary collapse

Constructor Details

#initialize(cause, tool) ⇒ NetworkError

Returns a new instance of NetworkError.



190
191
192
193
# File 'lib/seekmodo/sdk/storefront/transport.rb', line 190

def initialize(cause, tool)
  @cause = cause
  super(tool)
end

Instance Attribute Details

#causeObject (readonly)

Returns the value of attribute cause.



188
189
190
# File 'lib/seekmodo/sdk/storefront/transport.rb', line 188

def cause
  @cause
end