Nice Try Definition

This expression is used to show that something worked. It can be used sarcastically when something does not work.
Wiktionary