Place it at the end of a coding sequence, just as the working result appears, then follow it with a light bell ding for a clean finish, or put a classic error sound before it when a failed attempt turns into a fix.