nice error message on constraint error when deleting weight category