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