Exception: Memcache::ConnectionError

Inherits:
Error show all
Defined in:
lib/memcache.rb,
ext/native_server.c

Instance Method Summary collapse

Constructor Details

#initialize(e) ⇒ ConnectionError

Returns a new instance of ConnectionError.



23
24
25
26
27
28
29
30
# File 'lib/memcache.rb', line 23

def initialize(e)
  if e.kind_of?(String)
    super
  else
    super("(#{e.class}) #{e.message}")
    set_backtrace(e.backtrace)
  end
end