mirror of
https://github.com/waku-org/nwaku.git
synced 2025-02-05 03:25:04 +00:00
fix: waku_filter_v2/common: PEER_DIAL_FAILURE ret code change: 200 -> 504 (#2236)
This commit is contained in:
parent
5883dbebe5
commit
6301bec05d
@ -13,11 +13,11 @@ const
|
||||
type
|
||||
FilterSubscribeErrorKind* {.pure.} = enum
|
||||
UNKNOWN = uint32(000)
|
||||
PEER_DIAL_FAILURE = uint32(200) # TODO shouldn't this be an error code, e.g. 504 Gateway Timeout?
|
||||
BAD_RESPONSE = uint32(300)
|
||||
BAD_REQUEST = uint32(400)
|
||||
NOT_FOUND = uint32(404)
|
||||
SERVICE_UNAVAILABLE = uint32(503)
|
||||
PEER_DIAL_FAILURE = uint32(504)
|
||||
|
||||
FilterSubscribeError* = object
|
||||
case kind*: FilterSubscribeErrorKind
|
||||
|
Loading…
x
Reference in New Issue
Block a user