Exception: Redis::ProtocolError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Redis::ProtocolError
- Defined in:
- lib/redis.rb
Instance Method Summary collapse
-
#initialize(reply_type) ⇒ ProtocolError
constructor
A new instance of ProtocolError.
Constructor Details
#initialize(reply_type) ⇒ ProtocolError
Returns a new instance of ProtocolError.
7 8 9 |
# File 'lib/redis.rb', line 7 def initialize(reply_type) super("Protocol error, got '#{reply_type}' as initial reply byte") end |