diff options
author | Alexander Smirnov <alex@ydb.tech> | 2025-03-02 11:21:41 +0000 |
---|---|---|
committer | Alexander Smirnov <alex@ydb.tech> | 2025-03-02 11:21:41 +0000 |
commit | 8322fb9ff849dc37fa752d5aba04ef9e7ba2a7c9 (patch) | |
tree | 0d722004f839a80a1c4a02aa4dd2704daae5adec /yt/python | |
parent | 22b98a26c01070ae980dc5477323d8d4152aabbc (diff) | |
parent | 6678165e016ba474f1b8dd6d49af92b0d46350b9 (diff) | |
download | ydb-8322fb9ff849dc37fa752d5aba04ef9e7ba2a7c9.tar.gz |
Merge branch 'rightlib' into merge-libs-250302-1120
Diffstat (limited to 'yt/python')
-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) |