@@ -49,7 +49,6 @@ export class AuthError extends Error {
49
49
*/
50
50
kind ?: "signIn" | "error"
51
51
52
- /** @internal */
53
52
cause ?: Record < string , unknown > & { err ?: Error }
54
53
55
54
/** @internal */
@@ -105,7 +104,6 @@ export class SignInError extends AuthError {
105
104
* @noInheritDoc
106
105
*/
107
106
export class AdapterError extends AuthError {
108
- /** @internal */
109
107
static type = "AdapterError"
110
108
}
111
109
@@ -115,7 +113,6 @@ export class AdapterError extends AuthError {
115
113
* @noInheritDoc
116
114
*/
117
115
export class AccessDenied extends AuthError {
118
- /** @internal */
119
116
static type = "AccessDenied"
120
117
}
121
118
@@ -160,7 +157,6 @@ export class AccessDenied extends AuthError {
160
157
* @noInheritDoc
161
158
*/
162
159
export class CallbackRouteError extends AuthError {
163
- /** @internal */
164
160
static type = "CallbackRouteError"
165
161
}
166
162
@@ -174,7 +170,6 @@ export class CallbackRouteError extends AuthError {
174
170
* @noInheritDoc
175
171
*/
176
172
export class ErrorPageLoop extends AuthError {
177
- /** @internal */
178
173
static type = "ErrorPageLoop"
179
174
}
180
175
@@ -188,7 +183,6 @@ export class ErrorPageLoop extends AuthError {
188
183
* @noInheritDoc
189
184
*/
190
185
export class EventError extends AuthError {
191
- /** @internal */
192
186
static type = "EventError"
193
187
}
194
188
@@ -204,7 +198,6 @@ export class EventError extends AuthError {
204
198
* @noInheritDoc
205
199
*/
206
200
export class InvalidCallbackUrl extends AuthError {
207
- /** @internal */
208
201
static type = "InvalidCallbackUrl"
209
202
}
210
203
@@ -216,7 +209,6 @@ export class InvalidCallbackUrl extends AuthError {
216
209
* @noInheritDoc
217
210
*/
218
211
export class CredentialsSignin extends SignInError {
219
- /** @internal */
220
212
static type = "CredentialsSignin"
221
213
/**
222
214
* The error code that is set in the `code` query parameter of the redirect URL.
@@ -240,7 +232,6 @@ export class CredentialsSignin extends SignInError {
240
232
* @noInheritDoc
241
233
*/
242
234
export class InvalidEndpoints extends AuthError {
243
- /** @internal */
244
235
static type = "InvalidEndpoints"
245
236
}
246
237
@@ -252,7 +243,6 @@ export class InvalidEndpoints extends AuthError {
252
243
* @noInheritDoc
253
244
*/
254
245
export class InvalidCheck extends AuthError {
255
- /** @internal */
256
246
static type = "InvalidCheck"
257
247
}
258
248
@@ -269,7 +259,6 @@ export class InvalidCheck extends AuthError {
269
259
* @noInheritDoc
270
260
*/
271
261
export class JWTSessionError extends AuthError {
272
- /** @internal */
273
262
static type = "JWTSessionError"
274
263
}
275
264
@@ -282,7 +271,6 @@ export class JWTSessionError extends AuthError {
282
271
* @noInheritDoc
283
272
*/
284
273
export class MissingAdapter extends AuthError {
285
- /** @internal */
286
274
static type = "MissingAdapter"
287
275
}
288
276
@@ -295,7 +283,6 @@ export class MissingAdapter extends AuthError {
295
283
* @noInheritDoc
296
284
*/
297
285
export class MissingAdapterMethods extends AuthError {
298
- /** @internal */
299
286
static type = "MissingAdapterMethods"
300
287
}
301
288
@@ -307,7 +294,6 @@ export class MissingAdapterMethods extends AuthError {
307
294
* @noInheritDoc
308
295
*/
309
296
export class MissingAuthorize extends AuthError {
310
- /** @internal */
311
297
static type = "MissingAuthorize"
312
298
}
313
299
@@ -326,7 +312,6 @@ export class MissingAuthorize extends AuthError {
326
312
* @noInheritDoc
327
313
*/
328
314
export class MissingSecret extends AuthError {
329
- /** @internal */
330
315
static type = "MissingSecret"
331
316
}
332
317
@@ -344,7 +329,6 @@ export class MissingSecret extends AuthError {
344
329
* @noInheritDoc
345
330
*/
346
331
export class OAuthAccountNotLinked extends SignInError {
347
- /** @internal */
348
332
static type = "OAuthAccountNotLinked"
349
333
}
350
334
@@ -356,7 +340,6 @@ export class OAuthAccountNotLinked extends SignInError {
356
340
* @noInheritDoc
357
341
*/
358
342
export class OAuthCallbackError extends SignInError {
359
- /** @internal */
360
343
static type = "OAuthCallbackError"
361
344
}
362
345
@@ -367,7 +350,6 @@ export class OAuthCallbackError extends SignInError {
367
350
* @noInheritDoc
368
351
*/
369
352
export class OAuthProfileParseError extends AuthError {
370
- /** @internal */
371
353
static type = "OAuthProfileParseError"
372
354
}
373
355
@@ -380,7 +362,6 @@ export class OAuthProfileParseError extends AuthError {
380
362
* @noInheritDoc
381
363
*/
382
364
export class SessionTokenError extends AuthError {
383
- /** @internal */
384
365
static type = "SessionTokenError"
385
366
}
386
367
@@ -401,7 +382,6 @@ export class SessionTokenError extends AuthError {
401
382
* @noInheritDoc
402
383
*/
403
384
export class OAuthSignInError extends SignInError {
404
- /** @internal */
405
385
static type = "OAuthSignInError"
406
386
}
407
387
@@ -417,7 +397,6 @@ export class OAuthSignInError extends SignInError {
417
397
* @noInheritDoc
418
398
*/
419
399
export class EmailSignInError extends SignInError {
420
- /** @internal */
421
400
static type = "EmailSignInError"
422
401
}
423
402
@@ -432,7 +411,6 @@ export class EmailSignInError extends SignInError {
432
411
* @noInheritDoc
433
412
*/
434
413
export class SignOutError extends AuthError {
435
- /** @internal */
436
414
static type = "SignOutError"
437
415
}
438
416
@@ -443,7 +421,6 @@ export class SignOutError extends AuthError {
443
421
* @noInheritDoc
444
422
*/
445
423
export class UnknownAction extends AuthError {
446
- /** @internal */
447
424
static type = "UnknownAction"
448
425
}
449
426
@@ -454,7 +431,6 @@ export class UnknownAction extends AuthError {
454
431
* @noInheritDoc
455
432
*/
456
433
export class UnsupportedStrategy extends AuthError {
457
- /** @internal */
458
434
static type = "UnsupportedStrategy"
459
435
}
460
436
@@ -463,7 +439,6 @@ export class UnsupportedStrategy extends AuthError {
463
439
* @noInheritDoc
464
440
*/
465
441
export class InvalidProvider extends AuthError {
466
- /** @internal */
467
442
static type = "InvalidProvider"
468
443
}
469
444
@@ -480,7 +455,6 @@ export class InvalidProvider extends AuthError {
480
455
* @noInheritDoc
481
456
*/
482
457
export class UntrustedHost extends AuthError {
483
- /** @internal */
484
458
static type = "UntrustedHost"
485
459
}
486
460
@@ -491,7 +465,6 @@ export class UntrustedHost extends AuthError {
491
465
* @noInheritDoc
492
466
*/
493
467
export class Verification extends AuthError {
494
- /** @internal */
495
468
static type = "Verification"
496
469
}
497
470
@@ -507,7 +480,6 @@ export class Verification extends AuthError {
507
480
* @noInheritDoc
508
481
*/
509
482
export class MissingCSRF extends SignInError {
510
- /** @internal */
511
483
static type = "MissingCSRF"
512
484
}
513
485
@@ -538,7 +510,6 @@ export function isClientError(error: Error): error is AuthError {
538
510
* @noInheritDoc
539
511
*/
540
512
export class DuplicateConditionalUI extends AuthError {
541
- /** @internal */
542
513
static type = "DuplicateConditionalUI"
543
514
}
544
515
@@ -549,7 +520,6 @@ export class DuplicateConditionalUI extends AuthError {
549
520
* @noInheritDoc
550
521
*/
551
522
export class MissingWebAuthnAutocomplete extends AuthError {
552
- /** @internal */
553
523
static type = "MissingWebAuthnAutocomplete"
554
524
}
555
525
@@ -558,7 +528,6 @@ export class MissingWebAuthnAutocomplete extends AuthError {
558
528
* @noInheritDoc
559
529
*/
560
530
export class WebAuthnVerificationError extends AuthError {
561
- /** @internal */
562
531
static type = "WebAuthnVerificationError"
563
532
}
564
533
@@ -570,7 +539,6 @@ export class WebAuthnVerificationError extends AuthError {
570
539
* @noInheritDoc
571
540
*/
572
541
export class AccountNotLinked extends SignInError {
573
- /** @internal */
574
542
static type = "AccountNotLinked"
575
543
}
576
544
@@ -579,6 +547,5 @@ export class AccountNotLinked extends SignInError {
579
547
* @noInheritDoc
580
548
*/
581
549
export class ExperimentalFeatureNotEnabled extends AuthError {
582
- /** @internal */
583
550
static type = "ExperimentalFeatureNotEnabled"
584
551
}
0 commit comments