Thanks for posting your query.
I think the beer you have consumed contained some toxic substances.
It may be a wrong brewing due to poor quality control.
At times beverages can contain impurities of breweries that contain toxins from fungus or bacteria and can produce severe illness.
I would like you to get examined by a physician and get treated for a poisoning
Hope I have answered your query.
If you have any questions I will be happy to answer.