Ch 11. Improve error reporting a bit