From d67cbab67d319759e1057b50523809eb830c5c1e Mon Sep 17 00:00:00 2001 From: Marius Andra Date: Thu, 14 Sep 2023 11:11:51 +0200 Subject: [PATCH] feat(hogql): expose ZERO_ARRAY_OR_TUPLE_INDEX to users --- posthog/errors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/posthog/errors.py b/posthog/errors.py index 5cd3342f7a3fa..b2d34ed858448 100644 --- a/posthog/errors.py +++ b/posthog/errors.py @@ -206,7 +206,7 @@ def look_up_error_code_meta(error: ServerException) -> ErrorCodeMeta: 131: ErrorCodeMeta("TOO_LARGE_STRING_SIZE"), 133: ErrorCodeMeta("AGGREGATE_FUNCTION_DOESNT_ALLOW_PARAMETERS"), 134: ErrorCodeMeta("PARAMETERS_TO_AGGREGATE_FUNCTIONS_MUST_BE_LITERALS"), - 135: ErrorCodeMeta("ZERO_ARRAY_OR_TUPLE_INDEX"), + 135: ErrorCodeMeta("ZERO_ARRAY_OR_TUPLE_INDEX", user_safe=True), 137: ErrorCodeMeta("UNKNOWN_ELEMENT_IN_CONFIG"), 138: ErrorCodeMeta("EXCESSIVE_ELEMENT_IN_CONFIG"), 139: ErrorCodeMeta("NO_ELEMENTS_IN_CONFIG"),