From: Wolfgang Bangerth Date: Wed, 19 Jul 2023 16:37:23 +0000 (-0600) Subject: Improve an error message. X-Git-Tag: relicensing~660^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3b06d6f3fa1810f1b9df4bbb952e741e0453796;p=dealii.git Improve an error message. --- diff --git a/include/deal.II/base/parameter_handler.h b/include/deal.II/base/parameter_handler.h index fa4cf1c05b..f1a25a14c9 100644 --- a/include/deal.II/base/parameter_handler.h +++ b/include/deal.II/base/parameter_handler.h @@ -1675,9 +1675,9 @@ public: std::string, std::string, << "Line <" << arg1 << "> of file <" << arg2 - << ": There is " - "no such subsection to be entered: " - << arg3); + << ">: You are trying to enter a subsection '" << arg3 + << "', but the ParameterHandler object does " + << "not know of any such subsection."); /** * General exception for a line that could not be parsed, taking, as