This commit is contained in:
parent
5c26a83a4a
commit
01523b2b58
4 changed files with 5 additions and 5 deletions
|
|
@ -198,7 +198,7 @@ type
|
|||
Captures* = distinct RegexMatch
|
||||
CaptureBounds* = distinct RegexMatch
|
||||
|
||||
RegexError* = ref object of Exception
|
||||
RegexError* = ref object of CatchableError
|
||||
|
||||
RegexInternalError* = ref object of RegexError
|
||||
## Internal error in the module, this probably means that there is a bug
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ type
|
|||
|
||||
FutureVar*[T] = distinct Future[T]
|
||||
|
||||
FutureError* = object of Exception
|
||||
FutureError* = object of Defect
|
||||
cause*: FutureBase
|
||||
|
||||
when not defined(release):
|
||||
|
|
|
|||
|
|
@ -83,7 +83,7 @@ when defineSsl:
|
|||
type
|
||||
Certificate* = string ## DER encoded certificate
|
||||
|
||||
SslError* = object of Exception
|
||||
SslError* = object of CatchableError
|
||||
|
||||
SslCVerifyMode* = enum
|
||||
CVerifyNone, CVerifyPeer, CVerifyPeerUseEnvVars
|
||||
|
|
@ -146,7 +146,7 @@ type
|
|||
ReadLineResult* = enum ## result for readLineAsync
|
||||
ReadFullLine, ReadPartialLine, ReadDisconnected, ReadNone
|
||||
|
||||
TimeoutError* = object of Exception
|
||||
TimeoutError* = object of CatchableError
|
||||
|
||||
SocketFlag* {.pure.} = enum
|
||||
Peek,
|
||||
|
|
|
|||
|
|
@ -252,7 +252,7 @@ else:
|
|||
VnodeRename, VnodeRevoke
|
||||
|
||||
type
|
||||
IOSelectorsException* = object of Exception
|
||||
IOSelectorsException* = object of CatchableError
|
||||
|
||||
ReadyKey* = object
|
||||
fd* : int
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue