diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-02-08 21:53:09 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-02-08 21:53:09 +0100 |
commit | a853089479b60b829bab1c4a0a737a073415f8a7 (patch) | |
tree | c05ab6242a7301a31adbb0e2021aa09fc775ad8b /src/errors.h | |
parent | 4549dad874244fe933b969e4ac0b41923ee70dc3 (diff) | |
download | vim-git-a853089479b60b829bab1c4a0a737a073415f8a7.tar.gz |
patch 8.2.2488: json_encode() gives generic argument errorv8.2.2488
Problem: json_encode() gives generic argument error.
Solution: Mention the type that can't be encoded. (issue #7802)
Diffstat (limited to 'src/errors.h')
-rw-r--r-- | src/errors.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/errors.h b/src/errors.h index 9b9a78275..aaf7e552c 100644 --- a/src/errors.h +++ b/src/errors.h @@ -357,3 +357,5 @@ EXTERN char e_cannot_split_window_when_closing_buffer[] INIT(= N_("E1159: Cannot split a window when closing the buffer")); EXTERN char e_cannot_use_default_for_variable_arguments[] INIT(= N_("E1160: Cannot use a default for variable arguments")); +EXTERN char e_cannot_json_encode_str[] + INIT(= N_("E1161: Cannot json encode a %s")); |