react-native-firebase/ios/RNFirebase/RNFirebaseErrors.h

20 lines
462 B
C
Raw Normal View History

2017-03-09 15:26:28 +00:00
#ifndef RNFirebaseErrors_h
#define RNFirebaseErrors_h
#import "RCTBridgeModule.h"
#import "Firebase.h"
@interface RNFirebaseErrors : NSObject <RCTBridgeModule> {
}
+ (void) handleException:(NSException *)exception
withCallback:(RCTResponseSenderBlock)callback;
+ (NSDictionary *) handleFirebaseError:(NSString *) name
error:(NSError *) error
withUser:(FIRUser *) user;
@end
#endif