patch 8.2.4506: "pattern not found" for :global is not an error message
Problem: "pattern not found" for :global is not an error message.
Solution: In Vim9 script make this an actual error, so that try/catch can be
used as expected.
diff --git a/src/errors.h b/src/errors.h
index e08186e..6f25af6 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -1346,7 +1346,8 @@
EXTERN char e_commentstring_must_be_empty_or_contain_str[]
INIT(= N_("E537: 'commentstring' must be empty or contain %s"));
#endif
-// E538 unused
+EXTERN char e_pattern_found_in_every_line_str[]
+ INIT(= N_("E538: Pattern found in every line: %s"));
EXTERN char e_illegal_character_str[]
INIT(= N_("E539: Illegal character <%s>"));
#ifdef FEAT_STL_OPT