Is eating ants harmful

I accidentally ate a chocolate that had ants in it. I didn’t realize until after. Are they toxic? Can I get sick from it?