She prob just got spooked is all. It happens.
Also if she is younger she will be more nippy.
But the more she gets used to you handling her she will be less tempted to strike you.

I have never been bitten. But I've heard it doesnt hurt much at all. Getting bit comes with the territory of owning a snake. Which is why even if I was bit I'd still love my snake just as much.