Exception: Gemstash::ConnectionError

Inherits:
WebError
  • Object
show all
Defined in:
lib/gemstash/http_client.rb

Overview

:nodoc:

Instance Attribute Summary

Attributes inherited from WebError

#code

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ ConnectionError

Returns a new instance of ConnectionError.



18
19
20
# File 'lib/gemstash/http_client.rb', line 18

def initialize(message)
  super(message, 502) # Bad Gateway
end