diff options
author | robot-piglet <robot-piglet@yandex-team.com> | 2025-03-01 03:23:23 +0300 |
---|---|---|
committer | robot-piglet <robot-piglet@yandex-team.com> | 2025-03-01 03:36:00 +0300 |
commit | b8213a94b9e7afeab6f63df9a4a1e971e6db9ec3 (patch) | |
tree | 2d91db007c5ff6809e8de3ad95204340b43fc6a0 /yt | |
parent | b04e2faf41bf366d5f501c976bda00eb32d55660 (diff) | |
download | ydb-b8213a94b9e7afeab6f63df9a4a1e971e6db9ec3.tar.gz |
Intermediate changes
commit_hash:7ad07277d06b5e0262365ccafc9af63081d6abd8
Diffstat (limited to 'yt')
-rw-r--r-- | yt/python/yt/common.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/yt/python/yt/common.py b/yt/python/yt/common.py index 975c6be6b0..26a9599e51 100644 --- a/yt/python/yt/common.py +++ b/yt/python/yt/common.py @@ -223,6 +223,10 @@ class YtError(Exception): """Already exists.""" return self.contains_code(501) + def is_authentication_error(self): + """Authentication error.""" + return self.contains_code(900) + def is_access_denied(self): """Access denied.""" return self.contains_code(901) |