mirror of https://github.com/waku-org/nwaku.git
waku_store/common.nim: correct ret code in PEER_DIAL_FAILURE (#2260)
This commit is contained in:
parent
72a1f8c724
commit
89dbbd2048
|
@ -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…
Reference in New Issue