Convert axis assertions to AxisSupportError.