summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2018-08-10 16:51:45 +0200
committerAndreas Rumpf <rumpf_a@web.de>2018-08-10 16:51:45 +0200
commit60c7a0a08ff3beb48cd1a4885646168007b827a0 (patch)
treedd3ec044237b5eee24e1e6350f43c10b6a421297 /lib
parentba6601b149e77be52973209fbcea5a799f1ebf24 (diff)
parent4cf1e3eb4b77e4afd5047397b05726756c2de598 (diff)
downloadNim-60c7a0a08ff3beb48cd1a4885646168007b827a0.tar.gz
Merge branch 'araq-misc' of github.com:nim-lang/Nim into araq-misc
Diffstat (limited to 'lib')
-rw-r--r--lib/system.nim8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/system.nim b/lib/system.nim
index 531363eb1..b92dd58d6 100644
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -489,18 +489,18 @@ type
     ## but that are strictly uncatchable as they can also be mapped to
     ## a ``quit`` / ``trap`` / ``exit`` operation.
 
-  Error* = object of Exception ## \
+  CatchableError* = object of Exception ## \
     ## Abstract class for all exceptions that are catchable.
-  IOError* = object of Error ## \
+  IOError* = object of CatchableError ## \
     ## Raised if an IO error occurred.
   EOFError* = object of IOError ## \
     ## Raised if an IO "end of file" error occurred.
-  OSError* = object of Error ## \
+  OSError* = object of CatchableError ## \
     ## Raised if an operating system service failed.
     errorCode*: int32 ## OS-defined error code describing this error.
   LibraryError* = object of OSError ## \
     ## Raised if a dynamic library could not be loaded.
-  ResourceExhaustedError* = object of Error ## \
+  ResourceExhaustedError* = object of CatchableError ## \
     ## Raised if a resource request could not be fulfilled.
   ArithmeticError* = object of Defect ## \
     ## Raised if any kind of arithmetic error occurred.