aboutsummaryrefslogtreecommitdiffstats
path: root/build/scripts/error.py
diff options
context:
space:
mode:
authorprettyboy <prettyboy@yandex-team.com>2024-07-10 15:16:10 +0300
committerprettyboy <prettyboy@yandex-team.com>2024-07-10 15:28:49 +0300
commit7b4c9f080c25650b9309c0ba2f3db9b638ded718 (patch)
tree1e98eb8fc433af2a996f0f555ead939aadfdd6ee /build/scripts/error.py
parent9c3ec69ac7b4737a3a5eaa00f8541aeb98b56872 (diff)
downloadydb-7b4c9f080c25650b9309c0ba2f3db9b638ded718.tar.gz
[devtools/ya/app] Use UNHANDLED_EXCEPTION exit code in case of any unhandled exception
d2096b68c73660f5f1be097e031d167f18fb0b62
Diffstat (limited to 'build/scripts/error.py')
-rw-r--r--build/scripts/error.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/build/scripts/error.py b/build/scripts/error.py
index 5d8702e282..9911ee7cc1 100644
--- a/build/scripts/error.py
+++ b/build/scripts/error.py
@@ -19,8 +19,14 @@ TEMPORARY_ERROR_MESSAGES = [
# Node exit codes
class ExitCodes(object):
+ GENERIC_ERROR = 1
+ # 2 is reserved not to be confused with bash's exit code
+ # For more info see https://www.gnu.org/software/bash/manual/html_node/Exit-Status.html
+ _ = 2
+ UNHANDLED_EXCEPTION = 3
+ CONFIGURE_ERROR = 8
+ NO_TESTS_COLLECTED = 9
TEST_FAILED = 10
- COMPILATION_FAILED = 11
INFRASTRUCTURE_ERROR = 12
NOT_RETRIABLE_ERROR = 13
YT_STORE_FETCH_ERROR = 14