Exception: RedisClient::Error
- Inherits:
-
StandardError
- Object
- StandardError
- RedisClient::Error
- Defined in:
- lib/redis_client.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#next_error ⇒ Object
readonly
Returns the value of attribute next_error.
Attributes included from HasConfig
Class Method Summary collapse
Instance Method Summary collapse
-
#_set_next_error(error) ⇒ Object
:nodoc:.
Methods included from Retriable
#_set_retry_attempt, #final?, #retriable?, #retry_attempt
Methods included from HasConfig
Instance Attribute Details
#next_error ⇒ Object (readonly)
Returns the value of attribute next_error.
151 152 153 |
# File 'lib/redis_client.rb', line 151 def next_error @next_error end |
Class Method Details
.with_config(message, config = nil) ⇒ Object
153 154 155 156 157 |
# File 'lib/redis_client.rb', line 153 def self.with_config(, config = nil) error = new() error._set_config(config) error end |
Instance Method Details
#_set_next_error(error) ⇒ Object
:nodoc:
159 160 161 |
# File 'lib/redis_client.rb', line 159 def _set_next_error(error) # :nodoc: @next_error = error end |