Nim/tests/exception
Jacek Sieka 7d6cbf290a
Error -> Defect for defects (#13908)
* Error -> Defect for defects

The distinction between Error and Defect is subjective,
context-dependent and somewhat arbitrary, so when looking at an
exception, it's hard to guess what it is - this happens often when
looking at a `raises` list _without_ opening the corresponding
definition and digging through layers of inheritance.

With the help of a little consistency in naming, it's at least possible
to start disentangling the two error types and the standard lib can set
a good example here.
2020-04-28 19:56:01 +02:00
..
t9657.nim Fix #14091 and #14093 - test failures on NetBSD (#14096) 2020-04-24 09:18:44 +02:00
tcontinuexc.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
tcpp_imported_exc.nim Attempt to finish off araq cpp exceptions (#13695) 2020-03-19 20:38:25 +01:00
tdefer1.nim Fix defer not not-working at top level (#10191) 2019-01-07 00:51:17 +01:00
tdont_overwrite_typename.nim fixes more nil handling regressions 2018-08-13 17:27:44 +02:00
testindexerroroutput.nims revive #10228 (fix #9880) (#10610) 2019-02-13 23:30:14 +01:00
texcas.nim Allow only single infix as in except branches. Fixes #7115 (#7132) 2018-03-08 10:56:32 +01:00
texceptionbreak.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
texceptions.nim Error -> Defect for defects (#13908) 2020-04-28 19:56:01 +02:00
texcpt1.nim Fixes 2018-06-12 00:28:09 +01:00
texcsub.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
tfinally.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
tfinally2.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
tfinally3.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
tfinally4.nim --exception:goto switch for deterministic exception handling (#12977) 2020-01-01 10:01:49 +01:00
tnestedreturn.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
tnestedreturn2.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
treraise.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
tshow_real_exception_name.nim fixes #11309 (#11310) 2019-05-23 19:32:44 +02:00
tunhandledexc.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
twrongexc.nim Error -> Defect for defects (#13908) 2020-04-28 19:56:01 +02:00