react-native-navigation的迁移库

RNNErrorHandler.h 372B

1234567891011121314
  1. #import <Foundation/Foundation.h>
  2. #import <React/RCTBridgeModule.h>
  3. typedef enum RNNCommandsErrorCodes {
  4. RNNCommandErrorCodeNoStack = 0
  5. } RNNCommandsErrorCodes;
  6. @interface RNNErrorHandler : NSObject
  7. + (void)reject:(RCTPromiseRejectBlock)reject withErrorCode:(NSInteger)errorCode errorDescription:(NSString*)errorDescription;
  8. + (NSString *)getCallerFunctionName;
  9. @end