Error message

Axes cannot be swapped.

Cause of error

When swapping axes, you tried to swap an axis for an axis that does not exist.

Error correction

Axis swapping must be unambiguous.