20 lines
462 B
C
20 lines
462 B
C
|
#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
|