Hyperglycemia
If hyperglycemia gets worse or is not treated, it can cause toxic acids called ketones to build up in the blood and urine.  This is called diabetic ketoacidosis, which is a medical emergency.