My principles of feeding people:
If you are asked beforehand before an event whether there are things that you can't or won't eat, you should tell the truth. Do not lie and say you've got no food limitations if you know that you do. Knowing the truth and choosing to say something false instead is lying.
If you were not asked, but you know that you have food limitations that people should bear in mind, you should let them know nonetheless. If they simply forgot to ask you, they'll appreciate you telling them nonetheless. If they didn't ask because they don't care, they don't give a shit about you. Don't go to events or eat food offered by people who don't give a shit about you.
If you were asked what you can't and won't eat and you lied, and you are offered something you know they didn't know you don't like, you are the one who owes them an apology, not the other way around.
If you lied about what you can't or won't eat and know there won't be anything available that you can eat, then at least bring your own food.
If you lied about what you can't or won't eat and you know that there won't be anything there for you, and you also did not bring your own food, at least try not to be rancid to be around because you're hungry.
If you know there won't be food for you because you lied, and you didn't bring your own food despite of knowing that you're insufferable to deal with when you're hungry, then you'd better be fast enough to outrun me.
If you can't outrun me, then you'd better be able to outsmart me.
If you can't run and you can't hide then you'd better brace yourself, I will beat you with my shoe.