@dream11mobile/react-native-firebase
Version:
A well tested, feature rich Firebase implementation for React Native, supporting iOS & Android. Individual module support for Admob, Analytics, Auth, Crash Reporting, Cloud Firestore, Database, Dynamic Links, Functions, Messaging (FCM), Remote Config, Sto
20 lines (17 loc) • 412 B
Flow
export type NativeErrorObject = {
code: string,
message: string,
nativeErrorCode: string | number,
nativeErrorMessage: string,
};
export type NativeErrorResponse = {
error: NativeErrorObject,
// everything else
[key: string]: ?any,
};
export interface NativeErrorInterface extends Error {
+code: string;
+message: string;
+nativeErrorCode: string | number;
+nativeErrorMessage: string;
}