Interjection
God-a-mercy (obsolete) Eye dialect spelling of God have mercy: an exclamation of dismay or of relief.