exceptions.nim: Fix a bad Error -> Defect renaming (#14621)

This commit fixes a mistake from 7d6cbf290a.
This commit is contained in:
ee7
2020-06-10 09:34:20 +02:00
committed by GitHub
parent b7b84fa165
commit 5131af1a44

View File

@@ -140,7 +140,7 @@ type
## This is only raised if the `segfaults module <segfaults.html>`_ was imported!
ArithmeticError* {.deprecated: "See corresponding Defect".} = ArithmeticDefect
DivByZeroError* {.deprecated: "See corresponding Defect".} = ArithmeticDefect
DivByZeroError* {.deprecated: "See corresponding Defect".} = DivByZeroDefect
OverflowError* {.deprecated: "See corresponding Defect".} = OverflowDefect
AccessViolationError* {.deprecated: "See corresponding Defect".} = AccessViolationDefect
AssertionError* {.deprecated: "See corresponding Defect".} = AssertionDefect