module Semian::RedisV5Client

def translate_error!(error)

def translate_error!(error)
  redis_error = translate_error_class(error.class)
  if redis_error < ::Semian::AdapterError
    redis_error = redis_error.new(error.message)
    redis_error.semian_identifier = error.semian_identifier
  end
  raise redis_error, error.message, error.backtrace
end