Simplify error reporting to two lines.