20 lines
447 B
JavaScript
20 lines
447 B
JavaScript
|
// @remove-on-eject-begin
|
||
|
/**
|
||
|
* Copyright (c) 2015-present, Facebook, Inc.
|
||
|
*
|
||
|
* This source code is licensed under the MIT license found in the
|
||
|
* LICENSE file in the root directory of this source tree.
|
||
|
*/
|
||
|
// @remove-on-eject-end
|
||
|
'use strict';
|
||
|
|
||
|
const {
|
||
|
dismissRuntimeErrors,
|
||
|
reportRuntimeError,
|
||
|
} = require('react-error-overlay');
|
||
|
|
||
|
module.exports = {
|
||
|
clearRuntimeErrors: dismissRuntimeErrors,
|
||
|
handleRuntimeError: reportRuntimeError,
|
||
|
};
|