@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
17 lines (12 loc) • 354 B
Flow
import type { FunctionsErrorCode } from './types.flow';
export default class HttpsError extends Error {
+details: ?any;
+message: string;
+code: FunctionsErrorCode;
constructor(code: FunctionsErrorCode, message?: string, details?: any) {
super(message);
this.code = code;
this.details = details;
this.message = message;
}
}