Exception: RedisClient::Error

Inherits:
StandardError
  • Object
show all
Includes:
HasConfig, Retriable
Defined in:
lib/redis_client.rb

Direct Known Subclasses

CommandError

Instance Attribute Summary

Attributes included from HasConfig

#config

Class Method Summary collapse

Methods included from Retriable

#_set_retry_attempt, #final?, #retriable?, #retry_attempt

Methods included from HasConfig

#_set_config, #message

Class Method Details

.with_config(message, config = nil) ⇒ Object



141
142
143
144
145
# File 'lib/redis_client.rb', line 141

def self.with_config(message, config = nil)
  error = new(message)
  error._set_config(config)
  error
end