diff options
author | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-04-02 01:14:13 +0300 |
---|---|---|
committer | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-04-02 01:14:13 +0300 |
commit | 6754a6a379c0522676071b52818018c46b0a8e58 (patch) | |
tree | 7106cb31d3cd22eb6a7bb4bbde47ae23cd9f4027 /library/cpp/threading/future/core/future.cpp | |
parent | 24e1d4fe6d126ac368719f6a98bb4192739adb05 (diff) | |
download | ydb-6754a6a379c0522676071b52818018c46b0a8e58.tar.gz |
intermediate changes
ref:4f6264c5be27540a15fdefdc0e4084f35b9f7f44
Diffstat (limited to 'library/cpp/threading/future/core/future.cpp')
-rw-r--r-- | library/cpp/threading/future/core/future.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/library/cpp/threading/future/core/future.cpp b/library/cpp/threading/future/core/future.cpp index 3243afcb40..809369d843 100644 --- a/library/cpp/threading/future/core/future.cpp +++ b/library/cpp/threading/future/core/future.cpp @@ -1 +1,7 @@ #include "future.h" + +namespace NThreading::NImpl { + [[noreturn]] void ThrowFutureException(TStringBuf message, const TSourceLocation& source) { + throw source + TFutureException() << message; + } +} |