Can also be said when someone produces an abnormally large amount of feces.
Person : Dude did you see that monkey on a chain flying right at you?
Person 2 : Yea man I fucking crapped a shit!
Person : Hey man you don't look so good.
Person 2 : Thats because I had taco bell for lunch and just crapped a shit.
Person : Ouch.