File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -412,8 +412,8 @@ export class IndexedDbTransactionError extends FirestoreError {
412
412
413
413
constructor ( cause : Error ) {
414
414
super (
415
- Code . UNKNOWN ,
416
- 'IndexedDB transaction failed with environment error : ' + cause
415
+ Code . UNAVAILABLE ,
416
+ 'IndexedDB transaction failed: ' + cause
417
417
) ;
418
418
}
419
419
}
Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ import { logDebug, logError } from './log';
21
21
import { CancelablePromise , Deferred } from './promise' ;
22
22
import { ExponentialBackoff } from '../remote/backoff' ;
23
23
import { PlatformSupport } from '../platform/platform' ;
24
- import { IndexedDbTransactionError } from '../local/simple_db' ;
25
24
26
25
const LOG_TAG = 'AsyncQueue' ;
27
26
@@ -320,7 +319,7 @@ export class AsyncQueue {
320
319
* Enqueue a retryable operation.
321
320
*
322
321
* A retryable operation is rescheduled with backoff if it fails with a
323
- * SimpleDbTransactionError (the error type used by SimpleDb). All
322
+ * IndexedDbTransactionError (the error type used by SimpleDb). All
324
323
* retryable operations are executed in order and only run if all prior
325
324
* operations were retried successfully.
326
325
*/
You can’t perform that action at this time.
0 commit comments