Only pay attention to error diagnostics