Usually used when someone is confused or angry with something.
“I just shat on my history test” said jensen “What in the frickedy fronk just happened!!” Shouted mr Howe