From 52cc8a418307ae7a551d23e6bd2d367b544e7bf9 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 7 Jan 2022 17:12:42 +0000 Subject: Refactor CoreException and ModuleException. --- include/configreader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/configreader.h') diff --git a/include/configreader.h b/include/configreader.h index 6c4ce0403..9adcb1cfc 100644 --- a/include/configreader.h +++ b/include/configreader.h @@ -92,7 +92,7 @@ public: std::vector enumkeys; std::transform(enumvals.begin(), enumvals.end(), std::back_inserter(enumkeys), [](const std::pair& ev) { return ev.first; }); - throw ModuleException(val + " is an invalid value for <" + name + ":" + key + ">; acceptable values are " + + throw CoreException(val + " is an invalid value for <" + name + ":" + key + ">; acceptable values are " + stdalgo::string::join(enumkeys, ' ') + ", at " + source.str()); } -- cgit v1.3.1-10-gc9f91