common: Check for an error before reading.