Converted errorTex to a list so more errors can be input later on.