feat(messages): cleanup Lua error messages

"Error" in error messages is redundant. Just provide the context, don't
say "Error ...".
This commit is contained in:
Justin M. Keyes
2021-08-23 02:37:07 -07:00
parent af4f7f1618
commit fc2dee1736
42 changed files with 302 additions and 377 deletions

View File

@@ -344,7 +344,7 @@ describe('mappings with <Cmd>', function()
of test text |
{1:~ }|*2
{7: }|
{2:Error detected while processing :} |
{2:Error in :} |
{2:E605: Exception not caught: very error} |
{3:Press ENTER or type command to continue}^ |
]])
@@ -410,7 +410,7 @@ describe('mappings with <Cmd>', function()
of test text |
{1:~ }|*2
{7: }|
{2:Error detected while processing :} |
{2:Error in :} |
{2:E605: Exception not caught: very error} |
{3:Press ENTER or type command to continue}^ |
]])
@@ -433,7 +433,7 @@ describe('mappings with <Cmd>', function()
of test text |
{1:~ }|*2
{7: }|
{2:Error detected while processing :} |
{2:Error in :} |
{2:E605: Exception not caught: very error} |
{3:Press ENTER or type command to continue}^ |
]])
@@ -493,7 +493,7 @@ describe('mappings with <Cmd>', function()
of test text |
{1:~ }|*2
{7: }|
{2:Error detected while processing :} |
{2:Error in :} |
{2:E605: Exception not caught: very error} |
{3:Press ENTER or type command to continue}^ |
]])
@@ -531,7 +531,7 @@ describe('mappings with <Cmd>', function()
of test text |
{1:~ }|*2
{7: }|
{2:Error detected while processing :} |
{2:Error in :} |
{2:E605: Exception not caught: very error} |
{3:Press ENTER or type command to continue}^ |
]])
@@ -640,7 +640,7 @@ describe('mappings with <Cmd>', function()
{1:~ }|
{7: }|
:echo 2 |
{2:Error detected while processing :} |
{2:Error in :} |
{2:E605: Exception not caught: very error} |
:echo 2^ |
]])
@@ -653,7 +653,7 @@ describe('mappings with <Cmd>', function()
of test text |
{7: }|
:echo 2 |
{2:Error detected while processing :} |
{2:Error in :} |
{2:E605: Exception not caught: very error} |
4 |
{3:Press ENTER or type command to continue}^ |