Green’s Dictionary of Slang

ratshit! excl.

also rat’s claws!
[ratshit adj. (1)]

a general excl. of annoyance or distaste.

[US](con. 1958) R. Farina Been Down So Long (1972) 24: Oh ratshit, someone coming over, looks official.
[US](con. 1949) J. Hurling Boomers 67: ‘Ratshit!’ he muttered.
[US]W. Wharton Midnight Clear 115: Rat’s claws, Shutzer! It’s just not that important.
[US]P. Benchley Lush 90: ‘Ratshit,’ said Crosby. ‘I can’t hit dick left-handed.’.