ledger/error.cc
2004-08-07 21:46:05 -04:00

12 lines
228 B
C++

#include "error.h"
namespace ledger {
const char* parse_error::what() const throw()
{
std::ostringstream msg;
msg << file << ", line " << line << ": " << error::what();
return msg.str().c_str();
}
} // namespace ledger