Double checking for two error types / by J.J.A. Moors