diff options
| author | 2022-01-07 17:12:42 +0000 | |
|---|---|---|
| committer | 2022-01-07 17:16:50 +0000 | |
| commit | 52cc8a418307ae7a551d23e6bd2d367b544e7bf9 (patch) | |
| tree | 9fff020964190f33174e78ff6201381be577d0b3 /include/configreader.h | |
| parent | Merge branch 'insp3' into master. (diff) | |
Refactor CoreException and ModuleException.
Diffstat (limited to 'include/configreader.h')
| -rw-r--r-- | include/configreader.h | 2 |
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()); } |
