mirror of https://github.com/waku-org/js-waku.git
fix: use correct error message for store rate limit
This commit is contained in:
parent
7ee02faf48
commit
6990e6f4e0
|
@ -377,14 +377,14 @@ export namespace HistoryResponse {
|
||||||
export enum HistoryError {
|
export enum HistoryError {
|
||||||
NONE = 'NONE',
|
NONE = 'NONE',
|
||||||
INVALID_CURSOR = 'INVALID_CURSOR',
|
INVALID_CURSOR = 'INVALID_CURSOR',
|
||||||
TOO_MANY_RESULTS = 'TOO_MANY_RESULTS',
|
TOO_MANY_REQUESTS = 'TOO_MANY_REQUESTS',
|
||||||
SERVICE_UNAVAILABLE = 'SERVICE_UNAVAILABLE'
|
SERVICE_UNAVAILABLE = 'SERVICE_UNAVAILABLE'
|
||||||
}
|
}
|
||||||
|
|
||||||
enum __HistoryErrorValues {
|
enum __HistoryErrorValues {
|
||||||
NONE = 0,
|
NONE = 0,
|
||||||
INVALID_CURSOR = 1,
|
INVALID_CURSOR = 1,
|
||||||
TOO_MANY_RESULTS = 429,
|
TOO_MANY_REQUESTS = 429,
|
||||||
SERVICE_UNAVAILABLE = 503
|
SERVICE_UNAVAILABLE = 503
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -42,7 +42,7 @@ message HistoryResponse {
|
||||||
enum HistoryError {
|
enum HistoryError {
|
||||||
NONE = 0;
|
NONE = 0;
|
||||||
INVALID_CURSOR = 1;
|
INVALID_CURSOR = 1;
|
||||||
TOO_MANY_RESULTS = 429;
|
TOO_MANY_REQUESTS = 429;
|
||||||
SERVICE_UNAVAILABLE = 503;
|
SERVICE_UNAVAILABLE = 503;
|
||||||
}
|
}
|
||||||
HistoryError error = 4;
|
HistoryError error = 4;
|
||||||
|
|
Loading…
Reference in New Issue