The trouble with shouting at a teenager, I think, is that it just drives their behaviour underground. Kids don't stop doing stuff because their parents disapprove, they just learn to hide it better.
There is little that I would shout at my daughter for, and vaping, or indeed any substance use, actually wouldn't be on my list. Because i'd rather she be open and honest with me about it, so we could productively discuss it. In your situation I'd want to know, for example, if she actually likes vaping, or just feels pressured into it by friends.
I know that my similar age daughter has drunk alcohol a couple of times (not a dangerous amount, but not half a shandy either) with friends. I know this because she knows I won't lose my shit over it, so she told me. And we had a good talk about it, the possible dangers of drubkenss, ways to drink more safely, ways to not feel pressured to drink (she actually doesn't like it that much, it was in a social context both times and there was some pressure). I didn't make her promise to never drink again, because I don't think she'd necessarily keep that promise. I did make her promise to be careful what drinks she accepts, to stop before she even approaches intoxication, and to trust me enough to make an excuse and call me if a situation with drink (or drugs come to that) feels remotely unsafe to her. Promises I genuinely believe she WILL keep.
Every kid is different, and I actually think I just got lucky with mine. I am in no way claiming to be a great parent or have all the answers. But our honesty policy is one thing I feel I did get right.
(And for the record, I HATE the thought of her drinking, probably more than most parents would. But I hate the thought of her feeling unsafe and being unable to tell me what is going on, much more).
The only things I would actually lose my shit with her over, would be if I found out she had done something unkind or even cruel, to a human or an animal. Fortunately that hasn't happened yet and I hope it doesn't.
Good luck OP. No judgement here by the way. Raising kids is a bloody minefield.