hunk.code_window: import Auth0Api from '../../Api/Auth0Api';
   import Colors from '../constants/Colors';
   import Form from '../components/Form';
   import PrimaryButton from '../components/PrimaryButton';
   @connect(data => SignUpScreen.getDataProps(data))
   export default class SignUpScreen extends React.Component {
     static route = {
  
hunk.labels: keep keep keep keep add keep keep keep
hunk.after_edit: const DEBUG = false;
  
hunk.file_path: js/Home/screens/SignUpScreen.js
hunk.type: add
file: /**
   * Copyright (c) 2015-present, Facebook, Inc.
   * All rights reserved.
   *
   * This source code is licensed under the BSD-style license found in the
   * LICENSE file in the root directory of this source tree. An additional grant
   * of patent rights can be found in the PATENTS file in the same directory.
   */
  
  #import "ABI14_0_0RCTExceptionsManager.h"
  
  #import "ABI14_0_0RCTConvert.h"
  #import "ABI14_0_0RCTDefines.h"
  #import "ABI14_0_0RCTLog.h"
  #import "ABI14_0_0RCTRedBox.h"
  #import "ABI14_0_0RCTRootView.h"
  
  @implementation ABI14_0_0RCTExceptionsManager
  {
    __weak id<ABI14_0_0RCTExceptionsManagerDelegate> _delegate;
  }
  
  @synthesize bridge = _bridge;
  
  ABI14_0_0RCT_EXPORT_MODULE()
  
  - (instancetype)initWithDelegate:(id<ABI14_0_0RCTExceptionsManagerDelegate>)delegate
  {
    if ((self = [self init])) {
      _delegate = delegate;
    }
    return self;
  }
  
  ABI14_0_0RCT_EXPORT_METHOD(reportSoftException:(NSString *)message
                    stack:(NSArray<NSDictionary *> *)stack
                    exceptionId:(nonnull NSNumber *)exceptionId)
  {
    [_bridge.redBox showErrorMessage:message withStack:stack];
  
    if (_delegate) {
      [_delegate handleSoftJSExceptionWithMessage:message stack:stack exceptionId:exceptionId];
    }
  }
  
  ABI14_0_0RCT_EXPORT_METHOD(reportFatalException:(NSString *)message
                    stack:(NSArray<NSDictionary *> *)stack
                    exceptionId:(nonnull NSNumber *)exceptionId)
  {
    [_bridge.redBox showErrorMessage:message withStack:stack];
  
    if (_delegate) {
      [_delegate handleFatalJSExceptionWithMessage:message stack:stack exceptionId:exceptionId];
    }
  
    static NSUInteger reloadRetries = 0;
    if (!ABI14_0_0RCT_DEBUG && reloadRetries < _maxReloadAttempts) {
      reloadRetries++;
      [_bridge reload];
    } else {
      NSString *description = [@"Unhandled JS Exception: " stringByAppendingString:message];
      NSDictionary *errorInfo = @{ NSLocalizedDescriptionKey: description, ABI14_0_0RCTJSStackTraceKey: stack };
      ABI14_0_0RCTFatal([NSError errorWithDomain:ABI14_0_0RCTErrorDomain code:0 userInfo:errorInfo]);
    }
  }
  
  ABI14_0_0RCT_EXPORT_METHOD(updateExceptionMessage:(NSString *)message
                    stack:(NSArray<NSDictionary *> *)stack
                    exceptionId:(nonnull NSNumber *)exceptionId)
  {
    [_bridge.redBox updateErrorMessage:message withStack:stack];
  
    if (_delegate && [_delegate respondsToSelector:@selector(updateJSExceptionWithMessage:stack:exceptionId:)]) {
      [_delegate updateJSExceptionWithMessage:message stack:stack exceptionId:exceptionId];
    }
  }
  
  // Deprecated.  Use reportFatalException directly instead.
  ABI14_0_0RCT_EXPORT_METHOD(reportUnhandledException:(NSString *)message
                    stack:(NSArray<NSDictionary *> *)stack)
  {
    [self reportFatalException:message stack:stack exceptionId:@-1];
  }
  
  @end
  