If a line is vertical, the definition of slope doesn't work for it. Why not?

Pick any two points that form a vertical line, say,

A(4,6) and B(4,2)
slope AB = 4/0
but division by zero is undefined, so .....