Lines Matching refs:caught
404 " Numbers and strings may be caught by specifying a regular exception
629 let caught = 0
633 " let it be caught by the ":catch /.*/" below.
639 let caught = 1
645 if caught || $VIMNOERRTHROW && v:errmsg != ""
689 " When :try blocks are nested, an exception is caught by the innermost
821 " caught by a :catch of the same :try conditional. After executing
898 " caught by a :catch of the same :try conditional. Surrounding try
1112 " caught by the script.
1186 " exception can be caught by the script.
1295 " arguments are not evaluated, then. The exception can be caught by
1395 " arguments are not evaluated, then. The exception can be caught by
1535 " exception might be thrown. The exception can be caught by the
1627 " might be thrown. The exception can be caught by the script.
1811 " be caught as an exception.
1842 let caught = 0
1847 let caught = 1
1852 if caught || $VIMNOERRTHROW && v:errmsg =~ 'E21'
1869 let caught = 0
1874 let caught = 1
1879 if caught || $VIMNOERRTHROW && v:errmsg =~ 'E21'
1888 let caught = 0
1893 let caught = 1
1898 if caught || $VIMNOERRTHROW && v:errmsg =~ 'E21'
1907 let caught = 0
1912 let caught = 1
1917 if caught || $VIMNOERRTHROW && v:errmsg =~ 'E21'
1928 let caught = 0
1933 let caught = 1
1940 if caught || $VIMNOERRTHROW && v:errmsg =~ 'E21'
1949 let caught = 0
1955 let caught = 1
1960 if caught || $VIMNOERRTHROW && v:errmsg =~ 'E21'
2020 " Test for verbose messages displayed when an exception is caught
2030 \ 'Exception caught: Vim(echo):E121: Undefined variable: i', '',
2050 \ 'Exception caught: xyz', '',
2068 \ 'Exception caught: abc', '',
2146 \ 'Exception caught: abc', '',
2213 \ | let g:caught = 'caught'
2216 let g:caught = 'no'
2218 call assert_equal('caught', g:caught)
2224 unlet g:caught
2237 let caught = 'yes'
2239 let caught = v:exception
2241 call assert_equal('yes', caught)
2247 unlet g:caught
2263 let s:caught = 'yes'
2268 call assert_equal('yes', s:caught)