You probably overdosed.
Anxiety is an extremely common symptom of cannabis overdose, and it's very easy to overdose with the highly potent cannabis that's on the market today, especially with edibles where the appropriate dosage is very difficult to control compared to smoking.
A wiser way to approach cannabis consumption is to smoke the smallest dose of the weakest strain you can find.. ideally something below the threshold of perception, and slowly, very slowly, over a period of days or weeks, work your way up from there until you achieve a dose that's effective but not overwhelming to you.
Edibles are tougher to use this way, as you have to wait much longer to see if there's an effect (and often people give in to the temptation to up their dosage if they don't feel anything), but the principle is the same: start with the smallest dose you can find, and slowly (no more than once per day.. ideally with at least a couple of days in between) work your way up.
Also, mixing substances is a bad idea. I don't know if you did that, but synergistic effects from multiple substances can also easily lead to overdose.
Maybe but maybe not. I myself smoke cannabis every day in order to avoid anxiety, but I know plenty of people who can't even sit in the same room as someone who is smoking as they'll get enough cannabis in their system to trigger some reaction.
So while anxiety could be because of an overdose, some people really do get a strong reaction to even the smallest amount of cannabis.