1. /**
    
  2.  * Copyright (c) Meta Platforms, Inc. and affiliates.
    
  3.  *
    
  4.  * This source code is licensed under the MIT license found in the
    
  5.  * LICENSE file in the root directory of this source tree.
    
  6.  *
    
  7.  * @flow
    
  8.  */
    
  9. 
    
  10. import type {Fiber} from './ReactInternalTypes';
    
  11. import type {CapturedValue} from './ReactCapturedValue';
    
  12. 
    
  13. // This module is forked in different environments.
    
  14. // By default, return `true` to log errors to the console.
    
  15. // Forks can return `false` if this isn't desirable.
    
  16. 
    
  17. export function showErrorDialog(
    
  18.   boundary: Fiber,
    
  19.   errorInfo: CapturedValue<mixed>,
    
  20. ): boolean {
    
  21.   return true;
    
  22. }