aboutsummaryrefslogtreecommitdiff
path: root/src/utils.nim
diff options
context:
space:
mode:
authorBenjamin Shirley-Quirk2020-08-04 21:42:10 +0000
committerBenjamin Shirley-Quirk2020-08-04 21:42:10 +0000
commit4fad58d7be80d90058cf627a2f9bccbd6016e72b (patch)
tree0e11352c52a92338576788f39e644e8539e3202c /src/utils.nim
parent31108f15f5d1e9cc88ff4207658bf5155b184108 (diff)
removed Exception warnings, changed Exceptions to CatchableErrors
Diffstat (limited to 'src/utils.nim')
-rw-r--r--src/utils.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils.nim b/src/utils.nim
index 6fb0470..e46a8e0 100644
--- a/src/utils.nim
+++ b/src/utils.nim
@@ -2,10 +2,10 @@ import
hashes, options, os, posix, sequtils, strutils, sugar, tables
type
- HaltError* = object of Exception
+ HaltError* = object of CatchableError
code*: int
- CommandError* = object of Exception
+ CommandError* = object of CatchableError
color*: Option[bool]
error*: bool