It's an interjection that expresses disappointment, awkwardness and subtle sadness that can be referred to the topic described or to the subject speaking. It can be used as a transitive verb
Erdipa: "I never miss 3-point shots"
*misses 3-point shot*
Er dipa: "Frinch!"