maybe store the error name in this var instead of being only a boolean?