Visual/text changes to error format output
This commit is contained in:
+2
-2
@@ -73,7 +73,7 @@ protected:
|
||||
);
|
||||
|
||||
_msg += std::string(ErrorType::type);
|
||||
_msg += "-" + std::to_string(_code);
|
||||
_msg += "." + std::to_string(_code);
|
||||
if (line && filename.size()) {
|
||||
_msg += " in \'" + filename + "\':" + std::to_string(line);
|
||||
}
|
||||
@@ -92,7 +92,7 @@ protected:
|
||||
what_msg.replace(newline_pos, 1, "\n ");
|
||||
newline_pos = what_msg.find("\n", newline_pos+1);
|
||||
}
|
||||
_msg += "\n Trace: " + what_msg;
|
||||
_msg += "\n Trace: " + what_msg;
|
||||
}
|
||||
|
||||
unsigned int _code;
|
||||
|
||||
Reference in New Issue
Block a user