Skip to content

Commit f6cb3a1

Browse files
authored
Merge pull request #266 from powersync-ja/benitav-patch-1
Fixed some typos in error code descriptions
2 parents f5da11f + cb1898e commit f6cb3a1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

packages/service-errors/src/codes.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ export enum ErrorCode {
185185
/**
186186
* MongoDB internal TLS error.
187187
*
188-
* If connection to a shared cluster on MongoDB Atlas, this could be an IP Acccess List issue.
188+
* If connection to a shared cluster on MongoDB Atlas, this could be an IP Access List issue.
189189
* Check that the service IP is allowed to connect to the cluster.
190190
*/
191191
PSYNC_S1303 = 'PSYNC_S1303',
@@ -214,7 +214,7 @@ export enum ErrorCode {
214214
/**
215215
* MongoDB authorization error.
216216
*
217-
* Check that the user has the required priviledges.
217+
* Check that the user has the required privileges.
218218
*/
219219
PSYNC_S1307 = 'PSYNC_S1307',
220220

@@ -224,7 +224,7 @@ export enum ErrorCode {
224224
PSYNC_S1341 = 'PSYNC_S1341',
225225

226226
/**
227-
* Standalone MongoDB instances are not supported - use a replicaset.
227+
* Standalone MongoDB instances are not supported - use a replica-set.
228228
*/
229229
PSYNC_S1342 = 'PSYNC_S1342',
230230

@@ -342,7 +342,7 @@ export enum ErrorCode {
342342
/**
343343
* No token provided. An auth token is required for every request.
344344
*
345-
* The Auhtorization header must start with "Token" or "Bearer", followed by the JWT.
345+
* The Authorization header must start with "Token" or "Bearer", followed by the JWT.
346346
*/
347347
PSYNC_S2106 = 'PSYNC_S2106',
348348

@@ -363,7 +363,7 @@ export enum ErrorCode {
363363
/**
364364
* IPs in this range are not supported.
365365
*
366-
* Make sure to use a publically-accessible JWKS URI.
366+
* Make sure to use a publicly-accessible JWKS URI.
367367
*/
368368
PSYNC_S2203 = 'PSYNC_S2203',
369369

@@ -427,7 +427,7 @@ export enum ErrorCode {
427427
*/
428428
PSYNC_S3201 = 'PSYNC_S3201',
429429

430-
// ## PSYNC_S4000: management / dev apis
430+
// ## PSYNC_S4000: Management / Dev APIs
431431

432432
/**
433433
* Internal assertion error.

0 commit comments

Comments
 (0)