You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed when a file doesn't exit in a Firestore collection, it throws an instance of StorageError class, it used to be FirebaseError. Now the problem is StorageError is not exported in storage-public.d.ts (only its interface is exported) so I cannot check the catches error with
errorinstanceofStorageError
Steps to reproduce:
Try to import StorageError class, the interface is importable, but we need to import the class.
[REQUIRED] Describe your environment
[REQUIRED] Describe the problem
I noticed when a file doesn't exit in a Firestore collection, it throws an instance of
StorageError
class, it used to beFirebaseError
. Now the problem isStorageError
is not exported instorage-public.d.ts
(only its interface is exported) so I cannot check the catches error withSteps to reproduce:
Try to import
StorageError
class, the interface is importable, but we need to import the class.Relevant Code:
The text was updated successfully, but these errors were encountered: