Yes I agrree
Whirlygig.
If you nearly miss something, then you must have hit it.
Anyway to answer the question. I believe it's whenever the minimum separation distance between aircraft is breached. This varies depending on the flight category and the type of airspace you're operating in.