Method: Redis::Client.translate_error!
- Defined in:
- lib/redis/client.rb
.translate_error!(error, mapping: ERROR_MAPPING) ⇒ Object
33 34 35 36 |
# File 'lib/redis/client.rb', line 33 def translate_error!(error, mapping: ERROR_MAPPING) redis_error = translate_error_class(error.class, mapping: mapping) raise redis_error, error., error.backtrace end |