Term: cacking it
Example: she was cacking it when the cops searched her bag
Definition: when you're really worried about something, shitting yourself