class Redis::ProtocolError

Raised by the connection when a protocol error occurs.

Public Class Methods

new(reply_type) click to toggle source
Calls superclass method
# File lib/redis/errors.rb, line 8
    def initialize(reply_type)
      super("        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.
".gsub(/(?:^|\n)\s*/, " "))
    end