aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/yexception.h
diff options
context:
space:
mode:
authorsavin97 <savin97@yandex-team.ru>2022-02-10 16:52:07 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:52:07 +0300
commit6dda96acccc5db795315421605ba0451b8d41b16 (patch)
treeedc08ea290ef72af925d0940a56c176ec2ff965c /util/generic/yexception.h
parent23c799716c9f913b096312f8ea4e90b14b271e53 (diff)
downloadydb-6dda96acccc5db795315421605ba0451b8d41b16.tar.gz
Restoring authorship annotation for <savin97@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/generic/yexception.h')
-rw-r--r--util/generic/yexception.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/util/generic/yexception.h b/util/generic/yexception.h
index b0c604e8c45..3c106d790dc 100644
--- a/util/generic/yexception.h
+++ b/util/generic/yexception.h
@@ -86,34 +86,34 @@ Y_DECLARE_OUT_SPEC(inline, yexception, stream, value) {
stream << value.AsStrBuf();
}
-class TSystemError: public yexception {
+class TSystemError: public yexception {
public:
- TSystemError(int status)
- : Status_(status)
+ TSystemError(int status)
+ : Status_(status)
{
Init();
}
- TSystemError()
- : TSystemError(LastSystemError())
+ TSystemError()
+ : TSystemError(LastSystemError())
{
}
-
- int Status() const noexcept {
- return Status_;
+
+ int Status() const noexcept {
+ return Status_;
}
private:
void Init();
-
-private:
- int Status_;
+
+private:
+ int Status_;
};
-class TIoException: public TSystemError {
+class TIoException: public TSystemError {
};
-class TIoSystemError: public TIoException {
+class TIoSystemError: public TIoException {
};
class TFileError: public TIoSystemError {