Return Error type for Redis errors.