I have a situation where I need to throw an error. The error must match FirebaseError interface.
I tried to import this interface
import { FirebaseError } from '@firebase/util'; But I don't know how to use it
throw new FirebaseError ??? I have a situation where I need to throw an error. The error must match FirebaseError interface.
I tried to import this interface
import { FirebaseError } from '@firebase/util'; But I don't know how to use it
throw new FirebaseError ???