mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-19 05:50:30 +00:00
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user