Ah, Cripes
Like crap, darn, and doh!, this is a statement of frustration. This is usually said, however, when a plot is foiled or one is nailed by a good prank or practical joke.
Martin: Mr. Pendor, we have done a background check and have discovered that you have been cheating on your taxes since Roosevelt was President.

Chester: Which one? Teddy or Frank?

Martin: Frank.

Chester: Which term? He had four, you know.

Martin: It doesn't matter! What does matter is that you're under arrest!

Chester: Do you have proof?

Martin: It's all at the station. Why don't you slip into these handcuffs, junior, and we'll let Detective Charles take care of you!

Chester: Ah, cripes...