@powersync/service-errors 0.4.1 → 0.4.2
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/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/codes.d.ts
CHANGED
|
@@ -145,6 +145,18 @@ export declare enum ErrorCode {
|
|
|
145
145
|
* you may ignore this warning.
|
|
146
146
|
*/
|
|
147
147
|
PSYNC_S1145 = "PSYNC_S1145",
|
|
148
|
+
/**
|
|
149
|
+
* Replication slot invalidated.
|
|
150
|
+
*
|
|
151
|
+
* The replication slot was invalidated by PostgreSQL, typically because
|
|
152
|
+
* WAL retention exceeded max_slot_wal_keep_size during a long-running
|
|
153
|
+
* snapshot. Increase max_slot_wal_keep_size on the source database and
|
|
154
|
+
* redeploy sync rules.
|
|
155
|
+
*
|
|
156
|
+
* Other causes: rows_removed (catalog rows needed by the slot were
|
|
157
|
+
* removed), wal_level_insufficient, idle_timeout (PG 18+).
|
|
158
|
+
*/
|
|
159
|
+
PSYNC_S1146 = "PSYNC_S1146",
|
|
148
160
|
/**
|
|
149
161
|
* Generic MongoServerError.
|
|
150
162
|
*/
|
package/dist/codes.js
CHANGED
|
@@ -156,6 +156,18 @@ export var ErrorCode;
|
|
|
156
156
|
* you may ignore this warning.
|
|
157
157
|
*/
|
|
158
158
|
ErrorCode["PSYNC_S1145"] = "PSYNC_S1145";
|
|
159
|
+
/**
|
|
160
|
+
* Replication slot invalidated.
|
|
161
|
+
*
|
|
162
|
+
* The replication slot was invalidated by PostgreSQL, typically because
|
|
163
|
+
* WAL retention exceeded max_slot_wal_keep_size during a long-running
|
|
164
|
+
* snapshot. Increase max_slot_wal_keep_size on the source database and
|
|
165
|
+
* redeploy sync rules.
|
|
166
|
+
*
|
|
167
|
+
* Other causes: rows_removed (catalog rows needed by the slot were
|
|
168
|
+
* removed), wal_level_insufficient, idle_timeout (PG 18+).
|
|
169
|
+
*/
|
|
170
|
+
ErrorCode["PSYNC_S1146"] = "PSYNC_S1146";
|
|
159
171
|
// ## PSYNC_S12xx: MySQL replication issues
|
|
160
172
|
// ## PSYNC_S13xx: MongoDB replication issues
|
|
161
173
|
/**
|
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,SAsgBX;AAtgBD,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,wCAA2B,CAAA;IAE3B;;;;;OAKG;IACH,wCAA2B,CAAA;IAE3B;;;;OAIG;IACH,wCAA2B,CAAA;IAE3B;;;;OAIG;IACH,wCAA2B,CAAA;IAE3B;;;;OAIG;IACH,wCAA2B,CAAA;IAE3B;;;;OAIG;IACH,wCAA2B,CAAA;IAE3B;;;;OAIG;IACH,wCAA2B,CAAA;IAE3B;;;;OAIG;IACH,wCAA2B,CAAA;IAE3B;;;;OAIG;IACH,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IAE3B;;OAEG;IACH,wCAA2B,CAAA;IAE3B;;;;OAIG;IACH,wCAA2B,CAAA;IAE3B;;;;OAIG;IACH,wCAA2B,CAAA;IAE3B,0CAA0C;IAE1C;;OAEG;IACH,wCAA2B,CAAA;IAE3B;;;;OAIG;IACH,wCAA2B,CAAA;IAE3B;;;;OAIG;IACH,wCAA2B,CAAA;IAE3B;;OAEG;IACH,wCAA2B,CAAA;IAE3B,kCAAkC;IAElC;;;;;;;;OAQG;IACH,wCAA2B,CAAA;IAE3B;;OAEG;IACH,wCAA2B,CAAA;IAE3B;;;;OAIG;IACH,wCAA2B,CAAA;IAE3B,oDAAoD;IAEpD;;OAEG;IACH,wCAA2B,CAAA;IAE3B;;OAEG;IACH,wCAA2B,CAAA;IAE3B;;;OAGG;IACH,wCAA2B,CAAA;IAE3B;;OAEG;IACH,wCAA2B,CAAA;IAE3B,qDAAqD;IAErD,+CAA+C;IAE/C,4CAA4C;IAE5C;;OAEG;IACH,wCAA2B,CAAA;IAE3B;;OAEG;IACH,wCAA2B,CAAA;IAE3B,mDAAmD;IAEnD;;OAEG;IACH,wCAA2B,CAAA;IAE3B,wCAAwC;IAExC;;;;OAIG;IACH,wCAA2B,CAAA;IAE3B;;OAEG;IACH,wCAA2B,CAAA;IAE3B;;;;OAIG;IACH,wCAA2B,CAAA;AAC7B,CAAC,EAtgBW,SAAS,KAAT,SAAS,QAsgBpB"}
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC"}
|
package/package.json
CHANGED