It means What the F*ck or What the Hell in a softer language. You can say this with What the jesus
"I broke my arm" "What the Christ!"