It is generally applied with family and friends and so it might be more commonly used than thank you due to the connection issue. It may however, also be utilized sarcastically as in "Thanks for absolutely nothing??"Thank you" is more official but may be used with all folks in equally formal and informal settings. Consequently you cannot go Erroneo