Commit ba11f5ae authored by Jesse Beder's avatar Jesse Beder
Browse files

Added 'yaml-cpp: ' to the exception messages

parent d92ca21b
...@@ -68,7 +68,7 @@ namespace YAML ...@@ -68,7 +68,7 @@ namespace YAML
Exception(const Mark& mark_, const std::string& msg_) Exception(const Mark& mark_, const std::string& msg_)
: mark(mark_), msg(msg_) { : mark(mark_), msg(msg_) {
std::stringstream output; std::stringstream output;
output << "Error at line " << mark.line+1 << ", column " << mark.column+1 << ": " << msg; output << "yaml-cpp: error at line " << mark.line+1 << ", column " << mark.column+1 << ": " << msg;
what_ = output.str(); what_ = output.str();
} }
virtual ~Exception() throw() {} virtual ~Exception() throw() {}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment