class Redis::ProtocolError

Raised by the connection when a protocol error occurs.

def initialize(reply_type)

def initialize(reply_type)
  super(<<-EOS.gsub(/(?:^|\n)\s*/, " "))
    Got '#{reply_type}' as initial reply byte.
    If you're in a forking environment, such as Unicorn, you need to
    connect to Redis after forking.
  EOS
end