diff options
-rw-r--r-- | src/utils.nim | 4 | ||||
-rw-r--r-- | src/wrapper/curl.nim | 2 |
2 files changed, 3 insertions, 3 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 diff --git a/src/wrapper/curl.nim b/src/wrapper/curl.nim index 79468a9..9abb341 100644 --- a/src/wrapper/curl.nim +++ b/src/wrapper/curl.nim @@ -18,7 +18,7 @@ type url = 10002, writeFunction = 20011 - CurlError* = object of Exception + CurlError* = object of CatchableError {.passL: "-lcurl".} |