From c45372e2f38afc9e64aabe75a206985d759cb098 Mon Sep 17 00:00:00 2001 From: jbeder Date: Wed, 19 Aug 2009 05:09:12 +0000 Subject: [PATCH] Added 'yaml-cpp: ' to the exception messages --- include/exceptions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/exceptions.h b/include/exceptions.h index 6c533ca..8a246f0 100644 --- a/include/exceptions.h +++ b/include/exceptions.h @@ -68,7 +68,7 @@ namespace YAML Exception(const Mark& mark_, const std::string& msg_) : mark(mark_), msg(msg_) { 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(); } virtual ~Exception() throw() {}