Sorry to hear this.
It could just be a case of a young snake not being fit for the world, but I agree with Steve about taking a look at the worms to see if there is a problem with them - at the very least they will prove to be fine and you can get some peace of mind knowing that it wasn't anything to do with the worms.