Skip to content

Commit

Permalink
improve error string
Browse files Browse the repository at this point in the history
  • Loading branch information
edkilday committed Sep 13, 2023
1 parent f8e1e6b commit 67c2744
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/buildbindingccpp.go
Original file line number Diff line number Diff line change
Expand Up @@ -1321,7 +1321,7 @@ func writeExceptionClass(w LanguageWriter, NameSpace string, errors ComponentDef
w.Writeln(" if (msg.empty()) {")
w.Writeln(" msg = getErrorDescription();")
w.Writeln(" }")
w.Writeln(" return std::string(\"Error: \") + getErrorName() + \": \" + msg;")
w.Writeln(" return std::string(getErrorName()) + \": \" + msg;")
w.Writeln(" }")

w.Writeln("};")
Expand Down

0 comments on commit 67c2744

Please sign in to comment.