A nonmanifold edge connects more than two faces. I usually get this if I'm not careful with merging vertices or stitching edges.