If the soreness is a couple of inches up inside it might be that your prostate took a harder beating than it likes, if it's right at the anus or immediately inside than it's something else.
There are a couple of possibilities:
First, did you use enough lube? Sounds like a stupid question, but you can use a whole bunch of lube and not have it be effective. You need to make sure that the lube stays on the toy and lubricates inside the anus. Sometimes lube gets "squeegeed" off by the anus as you play, and you get too dry even though there seems to be a lot of lube around your bottom. This gets worse if you clench your anus.
Also, clenching your anus can lead to soreness more directly, especially with a textured toy. It's very easy to clench, especially when you or your partner are playing with your penis, but it can lead to discomfort later.
Look at what happened and think of ways to fix it so the next time you have an anal weekend you can "soar".