Exception: RedisClient::Error

Inherits:
StandardError
  • Object
show all
Includes:
HasConfig
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 HasConfig

#_set_config, #message

Class Method Details

.with_config(message, config = nil) ⇒ Object



105
106
107
108
109
# File 'lib/redis_client.rb', line 105

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