Check for code rather than error.