As per your case history; you had not taken food for long time and then you have mentioned as'you got put on codine'.
When you take codeine
on empty stomach; side effects increases.
Mentioned symptoms like feeling faint, nauseous, seizures and being not able to breath; are side effects of codeine.
Side effects got worsened because of hypoglycemia
Never take Opiates unnecessarily and on empty stomach.