Standardize some error messages.

This commit is contained in:
Wilson Snyder
2025-03-23 19:51:54 -04:00
parent 464e19caaa
commit 7521c2c644
40 changed files with 137 additions and 90 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ private:
void dumpDotFile(const V3Graph& graph, const string& filename) const {
// This generates a file used by graphviz, https://www.graphviz.org
const std::unique_ptr<std::ofstream> logp{V3File::new_ofstream(filename)};
if (logp->fail()) v3fatal("Can't write " << filename);
if (logp->fail()) v3fatal("Can't write file: " << filename);
// Header
*logp << "digraph v3graph {\n";