class TreeStack::NotLeafError