Enhanced exception output for number parsing.
This commit is contained in:
parent
6d7954e661
commit
59661621cd
@ -189,7 +189,7 @@ size_t Description::parseNumber(std::istream &istream) const
|
||||
}
|
||||
catch (const std::exception &e)
|
||||
{
|
||||
throw ParserException("Could not parse number");
|
||||
throw ParserException(std::string("Could not parse number (") + e.what() + ")");
|
||||
}
|
||||
|
||||
if (number == std::numeric_limits<size_t>::max())
|
||||
|
Reference in New Issue
Block a user