From 303fc5cba2843ffff98475da1a80514c239def96 Mon Sep 17 00:00:00 2001 From: Simon Woolf Date: Thu, 17 Sep 2026 14:56:53 +0100 Subject: [PATCH] errors: Broaden 40035 to any integration filter regex 40035 is documented as being specific to an integration's message filter, but it applies to any user-supplied regex on an integration, such as a channelFilter. Widen the title and summary accordingly. The identifier is a frozen contract, so it keeps its existing name. Co-Authored-By: Claude Opus 5 (1M context) --- errors/codes/40035.md | 4 ++-- protocol/errors.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/errors/codes/40035.md b/errors/codes/40035.md index e8297363..1455af6e 100644 --- a/errors/codes/40035.md +++ b/errors/codes/40035.md @@ -1,6 +1,6 @@ --- code: 40035 identifier: integration_message_filter_regex_not_re2_compatible -title: Integration message filter regex not RE2-compatible -summary: An integration's message filter could not be applied because its regular expression is not compatible with the RE2 syntax. Backreferences and lookaround are not supported. +title: Integration filter regex not RE2-compatible +summary: An integration could not be configured because one of its filters, such as a channel filter or message filter, uses a regular expression that is not RE2-compatible. Backreferences and lookaround are not supported. --- diff --git a/protocol/errors.json b/protocol/errors.json index 5e7c0e5d..ae7d6f93 100644 --- a/protocol/errors.json +++ b/protocol/errors.json @@ -169,8 +169,8 @@ }, "40035": { "identifier": "integration_message_filter_regex_not_re2_compatible", - "title": "Integration message filter regex not RE2-compatible", - "summary": "An integration's message filter could not be applied because its regular expression is not compatible with the RE2 syntax. Backreferences and lookaround are not supported." + "title": "Integration filter regex not RE2-compatible", + "summary": "An integration could not be configured because one of its filters, such as a channel filter or message filter, uses a regular expression that is not RE2-compatible. Backreferences and lookaround are not supported." }, "40099": { "identifier": "reserved_for_testing",