diff options
author | Innokentii Mokin <innokentii@ydb.tech> | 2024-01-27 10:01:54 +0000 |
---|---|---|
committer | Innokentii Mokin <innokentii@ydb.tech> | 2024-01-27 10:01:54 +0000 |
commit | 621e3d86c4e02bf3c88bb68e5aba5856fbf0185d (patch) | |
tree | 2d517d0985015d27ce6862003509de502be44ccc /util/generic/yexception.cpp | |
parent | a7dad28338e49d920879eb2b3e728ee6dd166b6e (diff) | |
parent | 00b9982cd019afca788639aa8279f2dc1f342383 (diff) | |
download | ydb-621e3d86c4e02bf3c88bb68e5aba5856fbf0185d.tar.gz |
Merge branch 'mergelibs11' into main
Diffstat (limited to 'util/generic/yexception.cpp')
-rw-r--r-- | util/generic/yexception.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/util/generic/yexception.cpp b/util/generic/yexception.cpp index ac62a8f4d2..6b067e90bb 100644 --- a/util/generic/yexception.cpp +++ b/util/generic/yexception.cpp @@ -119,9 +119,11 @@ std::string CurrentExceptionTypeName() { void TSystemError::Init() { yexception& exc = *this; - exc << TStringBuf("("); - exc << TStringBuf(LastSystemErrorText(Status_)); - exc << TStringBuf(") "); + exc << "(Error "sv + << Status_ + << ": "sv + << TStringBuf(LastSystemErrorText(Status_)) + << ") "sv; } NPrivateException::yexception::yexception() { |