diff options
author | amatanhead <amatanhead@yandex-team.ru> | 2022-02-10 16:50:04 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:04 +0300 |
commit | 8879605a63ac17539be5b3bd41b529791f4d4b02 (patch) | |
tree | 5739c7303cbe09d02b881e25bb294a4a173422a0 /library/cpp/getopt/small/last_getopt_support.h | |
parent | 830fe7ae4073c2707f3f3138303ccc56052c0327 (diff) | |
download | ydb-8879605a63ac17539be5b3bd41b529791f4d4b02.tar.gz |
Restoring authorship annotation for <amatanhead@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/getopt/small/last_getopt_support.h')
-rw-r--r-- | library/cpp/getopt/small/last_getopt_support.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/getopt/small/last_getopt_support.h b/library/cpp/getopt/small/last_getopt_support.h index 17bed3e614..d0e0baf77a 100644 --- a/library/cpp/getopt/small/last_getopt_support.h +++ b/library/cpp/getopt/small/last_getopt_support.h @@ -16,13 +16,13 @@ namespace NLastGetopt { class TException: public yexception { }; - /// TOpts configuration is incorrect + /// TOpts configuration is incorrect class TConfException: public TException { }; - /// User passed incorrect arguments, parsing failed - /// Note: use `throw TUsageException()` instead of `ythrow TUsageException()` to prevent appearence of stacktrace - /// and location of the `ythrow` statment in error messages. + /// User passed incorrect arguments, parsing failed + /// Note: use `throw TUsageException()` instead of `ythrow TUsageException()` to prevent appearence of stacktrace + /// and location of the `ythrow` statment in error messages. class TUsageException: public TException { }; @@ -166,7 +166,7 @@ namespace NLastGetopt { try { return OptFromStringImpl<T>(value); } catch (...) { - throw TUsageException() << "failed to parse opt " << OptToString(opt) << " value " << TString(value).Quote() << ": " << CurrentExceptionMessage(); + throw TUsageException() << "failed to parse opt " << OptToString(opt) << " value " << TString(value).Quote() << ": " << CurrentExceptionMessage(); } } |