summaryrefslogtreecommitdiffstats
path: root/src/errors.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-12-05 22:19:27 +0000
committerBram Moolenaar <Bram@vim.org>2021-12-05 22:19:27 +0000
commit40bcec1bac34d34a3d4d7c5f6b2cc1f163acbd00 (patch)
treebe6586866cf712e434252f74b185d35f6a49eed3 /src/errors.h
parent4700398e384f38f752b432e187462f404b96847d (diff)
patch 8.2.3750: error messages are everywherev8.2.3750
Problem: Error messages are everywhere. Solution: Move more error messages to errors.h and adjust the names.
Diffstat (limited to 'src/errors.h')
-rw-r--r--src/errors.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/errors.h b/src/errors.h
index 49df3572de..a494de3722 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -168,6 +168,34 @@ EXTERN char e_too_many_brackets[]
INIT(= N_("E76: Too many ["));
EXTERN char e_too_many_file_names[]
INIT(= N_("E77: Too many file names"));
+EXTERN char e_unknown_mark[]
+ INIT(= N_("E78: Unknown mark"));
+EXTERN char e_cannot_expand_wildcards[]
+ INIT(= N_("E79: Cannot expand wildcards"));
+EXTERN char e_error_while_writing[]
+ INIT(= N_("E80: Error while writing"));
+#ifdef FEAT_EVAL
+EXTERN char e_using_sid_not_in_script_context[]
+ INIT(= N_("E81: Using <SID> not in a script context"));
+#endif
+EXTERN char e_cannot_allocate_any_buffer_exiting[]
+ INIT(= N_("E82: Cannot allocate any buffer, exiting..."));
+EXTERN char e_cannot_allocate_buffer_using_other_one[]
+ INIT(= N_("E83: Cannot allocate buffer, using other one..."));
+EXTERN char e_no_modified_buffer_found[]
+ INIT(= N_("E84: No modified buffer found"));
+EXTERN char e_there_is_no_listed_buffer[]
+ INIT(= N_("E85: There is no listed buffer"));
+EXTERN char e_buffer_nr_does_not_exist[]
+ INIT(= N_("E86: Buffer %ld does not exist"));
+EXTERN char e_cannot_go_beyond_last_buffer[]
+ INIT(= N_("E87: Cannot go beyond last buffer"));
+EXTERN char e_cannot_go_before_first_buffer[]
+ INIT(= N_("E88: Cannot go before first buffer"));
+EXTERN char e_no_write_since_last_change_for_buffer_nr_add_bang_to_override[]
+ INIT(= N_("E89: No write since last change for buffer %d (add ! to override)"));
+EXTERN char e_cannot_unload_last_buffer[]
+ INIT(= N_("E90: Cannot unload last buffer"));
#ifdef FEAT_EVAL
EXTERN char e_undefined_variable_str[]