summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/system/exceptions.nim2
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