class Redis::Client

def translate_error!(error, mapping: ERROR_MAPPING)

def translate_error!(error, mapping: ERROR_MAPPING)
  redis_error = translate_error_class(error.class, mapping: mapping)
  raise redis_error, error.message, error.backtrace
end