idiom informal (also that was a close one!) used when something bad almost happened, but you managed to avoid it: When we packed up the tent in the morning, he showed me bear tracks, saying " That was a close one!"