sheet.c: Define check error.