mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-09 12:41:17 +00:00
Added 'yaml-cpp: ' to the exception messages
This commit is contained in:
@@ -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() {}
|
||||||
|
Reference in New Issue
Block a user