write boundary errors to csv