hunk.code_window:   if ([[self class] _viewControllerBasedStatusBarAppearance]) {
       ABI16_0_0RCTLogError(@"ABI16_0_0RCTStatusBarManager module requires that the \
                   UIViewControllerBasedStatusBarAppearance key in the Info.plist is set to NO");
     } else {
   #pragma clang diagnostic push
   #pragma clang diagnostic ignored "-Wdeprecated-declarations"
       [ABI16_0_0RCTSharedApplication() setStatusBarHidden:hidden
                                    withAnimation:animation];
  
hunk.labels: keep keep keep add keep keep keep keep
hunk.after_edit:     NSLog(@"%s: Applying status bar hidden %d", __func__, hidden);
  
hunk.file_path: ios/versioned-react-native/ABI16_0_0/Exponent/Modules/Internal/ABI16_0_0EXStatusBarManager.m
hunk.type: add
file: // Copyright 2004-present Facebook. All Rights Reserved.
  
  #pragma once
  
  #include "Protocol.h"
  
  #include <string>
  #include <exception>
  
  #include <folly/Optional.h>
  
  namespace facebook {
  namespace react {
  
  class InspectorException : public std::exception {
  public:
    InspectorException(int callId, ErrorCode code, std::string message);
    explicit InspectorException(ErrorCode code, std::string message);
  
    const char* what() const throw() override {
      return error_.message().c_str();
    }
  
    const Error& error() const {
      return error_;
    }
  
    InspectorException withCallId(int callId) const;
  private:
    Error error_;
  };
  
  }
  }
  