We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a69c3fc commit 036c3c1Copy full SHA for 036c3c1
lib/redis/client.rb
@@ -13,6 +13,7 @@ class Client < ::RedisClient
13
RedisClient::FailoverError => Redis::CannotConnectError,
14
RedisClient::PermissionError => Redis::PermissionError,
15
RedisClient::WrongTypeError => Redis::WrongTypeError,
16
+ RedisClient::ReadOnlyError => Redis::ReadOnlyError,
17
RedisClient::ProtocolError => Redis::ProtocolError,
18
}.freeze
19
lib/redis/errors.rb
@@ -26,6 +26,9 @@ class PermissionError < CommandError
26
class WrongTypeError < CommandError
27
end
28
29
+ class ReadOnlyError < CommandError
30
+ end
31
+
32
# Base error for connection related errors.
33
class BaseConnectionError < BaseError
34
0 commit comments