naim-firebase-auth-wrapper
Version:
React components and hooks for Firebase Authentication and Firestore with Mantine UI
10 lines • 394 B
TypeScript
/**
* Error handler for standardizing error handling across the app
*/
export declare class FirebaseAuthError extends Error {
code: string;
originalError?: Error;
constructor(message: string, code?: string, originalError?: Error);
}
export declare const handleServiceError: (error: unknown, defaultMessage?: string) => FirebaseAuthError;
//# sourceMappingURL=errorHandler.d.ts.map