Vectors do not define a plane when constructing a RotationMatrix

The following code:

RotationMatrix[{{0, 1, 0}, {0, -1, 0}}]

Gives an assertion message:

RotationMatrix::spln: Vectors {0,1,0} and {0,-1,0} do not define a plane.

Why can I define a RotationMatrix in this way?