mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-02 22:13:07 +00:00
fix: waku_filter_v2/common: PEER_DIAL_FAILURE ret code change: 200 -> 504 (#2236)
This commit is contained in:
parent
3030aa81e7
commit
4e953a18d1
@ -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