Temporarily de-delete query error codes still referenced internally
@@ -598,7 +598,8 @@ message Query {
QUERY_STDOUT_FLUSH_FAILURE = 13 [(metadata) = { exit_code: 36 }];
ANALYSIS_QUERY_PREREQ_UNMET = 14 [(metadata) = { exit_code: 2 }];
QUERY_RESULTS_FLUSH_FAILURE = 15 [(metadata) = { exit_code: 36 }];
- reserved 16;
+ // TODO(b/167277482): Delete when internal references are cleaned up.
+ UNCLOSED_QUOTATION_EXPRESSION_ERROR = 16 [(metadata) = { exit_code: 2 }];
VARIABLE_NAME_INVALID = 17 [(metadata) = { exit_code: 7 }];
VARIABLE_UNDEFINED = 18 [(metadata) = { exit_code: 7 }];
BUILDFILES_AND_LOADFILES_CANNOT_USE_OUTPUT_LOCATION_ERROR = 19
@@ -614,7 +615,11 @@ message Query {
ARGUMENTS_MISSING = 28 [(metadata) = { exit_code: 7 }];
RBUILDFILES_FUNCTION_REQUIRES_SKYQUERY = 29 [(metadata) = { exit_code: 7 }];
FULL_TARGETS_NOT_SUPPORTED = 30 [(metadata) = { exit_code: 7 }];
- reserved 31 to 34;
+ // TODO(b/167277482): Delete 31-34 when internal references are cleaned up.
+ UNEXPECTED_TOKEN_ERROR = 31 [(metadata) = { exit_code: 2 }];
+ INTEGER_LITERAL_MISSING = 32 [(metadata) = { exit_code: 2 }];
+ INVALID_STARTING_CHARACTER_ERROR = 33 [(metadata) = { exit_code: 2 }];
+ PREMATURE_END_OF_INPUT_ERROR = 34 [(metadata) = { exit_code: 2 }];
// Indicates the user specified invalid query syntax.
SYNTAX_ERROR = 35 [(metadata) = { exit_code: 2 }];
OUTPUT_FORMATTER_IO_EXCEPTION = 36 [(metadata) = { exit_code: 36 }];
