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



97
98
99
100
101
# File 'lib/redis_client.rb', line 97

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