Lines Matching refs:error
52 " this test first to get a meaningful result on an error before other
112 " on an error.
386 " On an error outside a function, the script processing continues
433 " On an error inside a function without the "abort" attribute, the
434 " script processing continues at the next line (unless the error was
435 " in a :return command). On an error inside a function with the
527 " error, the next function back in the call hierarchy without an
561 asdf " error
668 " When code is skipped over due to an error, the boolean argument to
683 asdf " error
715 " In code skipped over due to an error or inactive conditional,
753 asdf " error
760 asdf " error
987 " While loops inside a function are continued on error.
1176 " An error in a command dynamically enclosed in a :try/:endtry region
1296 " When an error occurs after the last active :try/:endtry region has
1524 " Test 22: :finally for a :try after an error/interrupt/:throw {{{1
1526 " If a :try conditional stays inactive due to a preceding error or
1535 asdf " aborting error, triggering error exception
1545 if 1 " not active due to error
1553 try " not active due to error
1805 " After an error in a command dynamically enclosed in a :try/:endtry
1819 asdf " error
1864 asdf " error
2048 " :return, :finish, error, interrupt or :throw, the jump reason is
2067 elseif a:jump == "error"
2097 call C("error")
2122 " :return, :finish, error, interrupt or :throw, the jump reason is
2141 elseif a:jump == "error"
2171 call B("error")
2196 " :return, :finish, error, interrupt or :throw, the jump reason is
2214 elseif a:jump == "error"
2240 let sum = sum - R("error", -64)
2268 " :return, :finish, error, interrupt or :throw, the jump reason is
2286 elseif a:jump == "error"
2318 let g:jump = "error"
2348 " Test 38: :finally reason discarded by an error {{{1
2351 " :return, :finish, error, interrupt or :throw, the jump reason is
2352 " discarded by an error in the finally clause.
2369 elseif a:jump == "error"
2378 asdf " error; discards jump that caused the :finally
2411 call E("error")
2445 " :return, :finish, error, interrupt or :throw, the jump reason is
2463 elseif a:jump == "error"
2507 call I("error")
2544 " :return, :finish, error, interrupt or :throw, the jump reason is
2562 elseif a:jump == "error"
2604 call T("error")
2771 " When an exception is thrown but not caught, an error message is
2773 " or error exception, the normal interrupt or error message(s) are
2891 let x = novar " error E121; exception: E121
2910 " error E108/E488; exception: E488
2927 " For nesting errors of :if conditionals the correct error messages
3098 " For nesting errors of :while conditionals the correct error messages
3226 " error messages should be given.
3333 " For nesting errors of :try conditionals the correct error messages
3628 " Test 58: v:exception and v:throwpoint for error/interrupt exceptions {{{1
3630 " v:exception and v:throwpoint work also for error and interrupt
3640 delfunction T " error (function in use) in line 2
3728 " When a :catch clause is left by a ":break" etc or an error or
3987 " v:exception. An error or interrupt exception cannot be rethrown
4023 throw v:exception " throw error: cannot fake Vim exception
4030 catch /^Vim(throw):/ " catches throw error
4048 catch /^Vim/ " catch error exception
4050 " Trigger Vim error exception with value specified after :echoerr
4081 " Trigger Vim error exception with value specified after :echoerr
4104 " "Vim:Interrupt". If the interrupt occurs after an error or a :throw
4226 " Test 62: Catching error exceptions {{{1
4228 " An error inside a :try/:endtry region is converted to an exception
4229 " and can be caught. The error exception has a "Vim(cmdname):" prefix
4267 throw novar " error in :throw
4294 throw "Vim:faked" " error: cannot fake Vim exception
4444 break " discard error for $VIMNOERRTHROW
4454 " Test 63: Suppressing error exceptions by :silent!. {{{1
4458 " error. When the commands executed by the :silent! themselves open
4461 " etc. The :silent! has the effect of setting v:errmsg to the error
4467 " on error.
4508 " discards the aborting error when $VIMNOERRTHROW is non-zero.
4556 " Test 64: Error exceptions after error, interrupt or :throw {{{1
4558 " When an error occurs after an interrupt or a :throw but before
4560 " block are ignored, but the error exception can be caught by the next
4561 " surrounding try conditional. Any previous error exception is
4562 " discarded. An error is ignored when there is a previous error that
4576 endwhile " throw error exception
4605 catch /.*/ " throw error exception
4641 catch /.*/ " throw error exception
4677 catch /x/ " throw error exception
4707 endif " :endif without :if; throw error exception
4710 catch /do_not_catch/ " ignore new error
4735 " On an error in the /pattern/ argument of a :catch, the :catch does
4768 catch /\)/ " error; discards exception
4798 " Test 66: Stop range :call on error, interrupt, or :throw {{{1
4801 " doesn't handle the range itself has an error in a command
4804 " range are made. On an error in a command not dynamically enclosed
4822 if a:reason == "error"
4828 elseif a:reason == "aborting error"
4846 call G("error", 1)
4850 call G("error", 2)
4871 call G("aborting error", 5)
5046 let error = 0
5135 " due to an error inside a :try/:endtry region or due to an interrupt
5138 " error not inside :try/:endtry, the expression evaluation continues.
5212 " v:errmsg is not set when the error message is converted to an
5213 " exception. Set it to the original error message.
5216 " An error exception has been thrown after the original error.
5222 continue " discard an aborting error
5255 " An error exception has been triggered after the interrupt.
5294 " An error exception has been triggered after the :throw.
5374 " to an error inside a :try/:endtry region or due to an interrupt or
5377 " ":endfunction". On an error not inside :try/:endtry, the expression
5427 " skipped when an error occurs in ERR(). This works whether or
5461 " When an expression evaluation detects a parsing error, an error
5524 " v:errmsg is not set when the error message is converted to an
5525 " exception. Set it to the original error message.
5536 continue " discard an aborting error
5551 " v:errmsg is not set when the error message is converted to an
5552 " exception. Set it to the original error message.
5558 " Discard an aborting error:
5601 " throwing an error exception. If, however, a syntax error is
5602 " detected afterwards, this one is used for the error exception.
5603 " On a syntax error, the next command is not executed, on a normal
5604 " error, however, it is (relevant only in a function without the
5607 " If throwing error exceptions is configured off, v:errmsg is always
5608 " set to the latest error message, that is, to the more general
5609 " message or the syntax error, respectively.
5641 call EXEC('echo novar') " normal error
5657 call EXEC(cmd . ' novar #') " normal plus syntax error
5661 " TODO: should get error for 'novar'
5684 call EXEC(cmd . ' {novar}') " normal plus syntax error
5712 " Test 80: Syntax error in expression for illegal :elseif {{{1
5714 " If there is a syntax error in the expression after an illegal
5715 " :elseif, an error message is given (or an error exception thrown)
5716 " for the illegal :elseif rather than the expression error.
5846 " Test 81: Discarding exceptions after an error or interrupt {{{1
5849 " :catch and :finally clauses and an error or interrupt occurs before
5863 " error after :throw: missing :endif
5913 " Test 82: Ignoring :catch clauses after an error or interrupt {{{1
5915 " When an exception is thrown and an error or interrupt occurs before
5917 " and the :catch clause is ignored (also for the error or interrupt
5930 " error after :throw: missing :endif
5958 " error after :throw: missing :endif
6055 " Test 83: Executing :finally clauses after an error or interrupt {{{1
6057 " When an exception is thrown and an error or interrupt occurs before
6072 " error after :throw: missing :endif
6234 " ... but break loop for caught error exception,
6235 " or discard error and break loop if $VIMNOERRTHROW
6268 " executed after it should be skipped on an error (exception) in the