@powersync/service-errors 0.3.5 → 0.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/codes.d.ts +12 -0
- package/dist/codes.js +12 -0
- package/dist/codes.js.map +1 -1
- package/package.json +1 -1
package/dist/codes.d.ts
CHANGED
|
@@ -49,6 +49,11 @@ export declare enum ErrorCode {
|
|
|
49
49
|
* This may occur if there is very deep nesting in JSON or embedded documents.
|
|
50
50
|
*/
|
|
51
51
|
PSYNC_S1004 = "PSYNC_S1004",
|
|
52
|
+
/**
|
|
53
|
+
* Storage version not supported. This could be caused by a downgrade to a version
|
|
54
|
+
* that does not support the current storage version.
|
|
55
|
+
*/
|
|
56
|
+
PSYNC_S1005 = "PSYNC_S1005",
|
|
52
57
|
/**
|
|
53
58
|
* Replication assertion error.
|
|
54
59
|
*
|
|
@@ -234,6 +239,13 @@ export declare enum ErrorCode {
|
|
|
234
239
|
* Max transaction tries exceeded.
|
|
235
240
|
*/
|
|
236
241
|
PSYNC_S1402 = "PSYNC_S1402",
|
|
242
|
+
/**
|
|
243
|
+
* Required updates in the Change Data Capture (CDC) are no longer available.
|
|
244
|
+
*
|
|
245
|
+
* Possible causes:
|
|
246
|
+
* * Older data has been cleaned up due to exceeding the retention period.
|
|
247
|
+
*/
|
|
248
|
+
PSYNC_S1500 = "PSYNC_S1500",
|
|
237
249
|
/**
|
|
238
250
|
* Generic internal server error (HTTP 500).
|
|
239
251
|
*
|
package/dist/codes.js
CHANGED
|
@@ -59,6 +59,11 @@ export var ErrorCode;
|
|
|
59
59
|
* This may occur if there is very deep nesting in JSON or embedded documents.
|
|
60
60
|
*/
|
|
61
61
|
ErrorCode["PSYNC_S1004"] = "PSYNC_S1004";
|
|
62
|
+
/**
|
|
63
|
+
* Storage version not supported. This could be caused by a downgrade to a version
|
|
64
|
+
* that does not support the current storage version.
|
|
65
|
+
*/
|
|
66
|
+
ErrorCode["PSYNC_S1005"] = "PSYNC_S1005";
|
|
62
67
|
// ## PSYNC_S11xx: Postgres replication issues
|
|
63
68
|
/**
|
|
64
69
|
* Replication assertion error.
|
|
@@ -248,6 +253,13 @@ export var ErrorCode;
|
|
|
248
253
|
* Max transaction tries exceeded.
|
|
249
254
|
*/
|
|
250
255
|
ErrorCode["PSYNC_S1402"] = "PSYNC_S1402";
|
|
256
|
+
/**
|
|
257
|
+
* Required updates in the Change Data Capture (CDC) are no longer available.
|
|
258
|
+
*
|
|
259
|
+
* Possible causes:
|
|
260
|
+
* * Older data has been cleaned up due to exceeding the retention period.
|
|
261
|
+
*/
|
|
262
|
+
ErrorCode["PSYNC_S1500"] = "PSYNC_S1500";
|
|
251
263
|
// ## PSYNC_S2xxx: Service API
|
|
252
264
|
/**
|
|
253
265
|
* Generic internal server error (HTTP 500).
|
package/dist/codes.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"codes.js","sourceRoot":"","sources":["../src/codes.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,CAAN,IAAY,
|
|
1
|
+
{"version":3,"file":"codes.js","sourceRoot":"","sources":["../src/codes.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,CAAN,IAAY,SA4eX;AA5eD,WAAY,SAAS;IACnB,mCAAmC;IAEnC;;OAEG;IACH,wCAA2B,CAAA;IAE3B,qCAAqC;IAErC,iDAAiD;IAEjD,oCAAoC;IAEpC,+CAA+C;IAE/C,6CAA6C;IAE7C,wCAAwC;IAExC,gCAAgC;IAEhC;;;;OAIG;IACH,wCAA2B,CAAA;IAE3B;;;;;;;;OAQG;IACH,wCAA2B,CAAA;IAE3B,qCAAqC;IAErC;;;;;OAKG;IACH,wCAA2B,CAAA;IAE3B;;;;;;;;;OASG;IACH,wCAA2B,CAAA;IAE3B;;;;OAIG;IACH,wCAA2B,CAAA;IAE3B;;;OAGG;IACH,wCAA2B,CAAA;IAE3B,8CAA8C;IAE9C;;;;OAIG;IACH,wCAA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