diff options
author | ee7 <45465154+ee7@users.noreply.github.com> | 2020-06-10 09:34:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-10 09:34:20 +0200 |
commit | 5131af1a446140d275510d67bff281f2e42cc19b (patch) | |
tree | 2c1057ca076153fe10171e8241cebe044a137a84 /lib/system/exceptions.nim | |
parent | b7b84fa1652e6ef4ea203f553a6c1f0aed51bcf3 (diff) | |
download | Nim-5131af1a446140d275510d67bff281f2e42cc19b.tar.gz |
exceptions.nim: Fix a bad `Error` -> `Defect` renaming (#14621)
This commit fixes a mistake from 7d6cbf290a.
Diffstat (limited to 'lib/system/exceptions.nim')
-rw-r--r-- | lib/system/exceptions.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/exceptions.nim b/lib/system/exceptions.nim index ab092647c..3006cff19 100644 --- a/lib/system/exceptions.nim +++ b/lib/system/exceptions.nim @@ -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 |