This commit is contained in:
parent
5c26a83a4a
commit
01523b2b58
4 changed files with 5 additions and 5 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue