diff options
author | Eyal Rozenberg <eyalroz1@gmx.com> | 2022-07-12 12:45:58 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-12 12:45:58 +0300 |
commit | 628dc9202b4a0f0d8eb1fae357a452d85278a73b (patch) | |
tree | b28d67ede7aadfb137ebf9ea4b4969f59fe71d56 /README.md | |
parent | 548d6196f52fa934132299cb3e3f4ae73d64fe93 (diff) |
Fixes #345, fixes #346: Exception code tweaks (#347)
* Fixes #345, fixes #346, regards #340: Put exceptions in a sub-namespace and renamed them accordingly.
* Also fixed some "loose ends" regarding namespace indentation which were missing in PR #350.
* Dropped `required_option_missing` as it is unused.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -109,9 +109,9 @@ result.unmatched() Exceptional situations throw C++ exceptions. There are two types of exceptions: errors defining the options, and errors when parsing a list of -arguments. All exceptions derive from `cxxopts::OptionException`. Errors -defining options derive from `cxxopts::OptionSpecException` and errors -parsing arguments derive from `cxxopts::OptionParseException`. +arguments. All exceptions derive from `cxxopts::exceptions::exception`. Errors +defining options derive from `cxxopts::exceptions::specification` and errors +parsing arguments derive from `cxxopts::exceptions::parsing`. All exceptions define a `what()` function to get a printable string explaining the error. |