123456789_123456789_123456789_123456789_123456789_

Exception: Redis::ProtocolError

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, BaseError, StandardError
Instance Chain:
self, BaseError, StandardError
Inherits: Redis::BaseError
Defined in: lib/redis/errors.rb

Overview

Raised by the connection when a protocol error occurs.

Class Method Summary

Constructor Details

.new(reply_type) ⇒ ProtocolError

[ GitHub ]

  
# File 'lib/redis/errors.rb', line 10

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