mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-02 14:03:06 +00:00
waku_store/common.nim: correct ret code in PEER_DIAL_FAILURE (#2260)
This commit is contained in:
parent
7f9a0d97fd
commit
75296f055c
@ -63,10 +63,10 @@ type
|
|||||||
|
|
||||||
HistoryErrorKind* {.pure.} = enum
|
HistoryErrorKind* {.pure.} = enum
|
||||||
UNKNOWN = uint32(000)
|
UNKNOWN = uint32(000)
|
||||||
PEER_DIAL_FAILURE = uint32(200)
|
|
||||||
BAD_RESPONSE = uint32(300)
|
BAD_RESPONSE = uint32(300)
|
||||||
BAD_REQUEST = uint32(400)
|
BAD_REQUEST = uint32(400)
|
||||||
SERVICE_UNAVAILABLE = uint32(503)
|
SERVICE_UNAVAILABLE = uint32(503)
|
||||||
|
PEER_DIAL_FAILURE = uint32(504)
|
||||||
|
|
||||||
HistoryError* = object
|
HistoryError* = object
|
||||||
case kind*: HistoryErrorKind
|
case kind*: HistoryErrorKind
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user