aboutsummaryrefslogtreecommitdiffstats
path: root/include/configreader.h
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-01-07 17:12:42 +0000
committerGravatar Sadie Powell2022-01-07 17:16:50 +0000
commit52cc8a418307ae7a551d23e6bd2d367b544e7bf9 (patch)
tree9fff020964190f33174e78ff6201381be577d0b3 /include/configreader.h
parentMerge branch 'insp3' into master. (diff)
Refactor CoreException and ModuleException.
Diffstat (limited to 'include/configreader.h')
-rw-r--r--include/configreader.h2
1 files changed, 1 insertions, 1 deletions
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<const char*> enumkeys;
std::transform(enumvals.begin(), enumvals.end(), std::back_inserter(enumkeys), [](const std::pair<const char*, TReturn>& 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());
}