handling tessellator error and pumping out error status

Any reason not to move this inside to the .cpp file? Do you need it here?