diff options
Diffstat (limited to 'src/expr/expr_template.cpp')
-rw-r--r-- | src/expr/expr_template.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/expr/expr_template.cpp b/src/expr/expr_template.cpp index c510ce381..d0f5fde9e 100644 --- a/src/expr/expr_template.cpp +++ b/src/expr/expr_template.cpp @@ -76,7 +76,8 @@ TypeCheckingException::~TypeCheckingException() throw() { } void TypeCheckingException::toStream(std::ostream& os) const throw() { - os << "Error type-checking " << d_expr << ": " << d_msg << endl << *d_expr; + os << "Error during type checking: " << d_msg << endl + << "The ill-typed expression: " << *d_expr; } Expr TypeCheckingException::getExpression() const throw() { |