Catch redis errors and convert to corresponding lock errors