Home / File/ ErrorTesterCompiled.js — react Source File

ErrorTesterCompiled.js — react Source File

Architecture documentation for ErrorTesterCompiled.js, a javascript file in the react codebase. 0 imports, 1 dependents.

File javascript BabelCompiler Validation 1 dependents 1 functions

Entity Profile

Dependency Diagram

graph LR
  7429ce5c_162f_d2fd_dc90_4be96c3babff["ErrorTesterCompiled.js"]
  622e536b_9c72_69d0_58d6_fc8851cbebb0["ErrorTester.js"]
  622e536b_9c72_69d0_58d6_fc8851cbebb0 --> 7429ce5c_162f_d2fd_dc90_4be96c3babff
  style 7429ce5c_162f_d2fd_dc90_4be96c3babff fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

'use strict';

Object.defineProperty(exports, '__esModule', {
  value: true,
});
exports.default = testErrorStack;
exports.SOURCE_STACK_FRAME_LINE_NUMBER = void 0;

/**
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 *
 * @flow
 */
function testErrorStack() {
  // If source maps are applied, this Error will have a stack frame with line 12.
  throw Error('Test Error stack');
}

const SOURCE_STACK_FRAME_LINE_NUMBER = 12;
exports.SOURCE_STACK_FRAME_LINE_NUMBER = SOURCE_STACK_FRAME_LINE_NUMBER;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInRlc3RFcm9yclN0YWNrLmpzIl0sIm5hbWVzIjpbInRlc3RFcm9yclN0YWNrIiwiRXJyb3IiLCJTT1VSQ0VfU1RBQ0tfRlJBTUVfTElORV9OVU1CRVIiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBQUE7Ozs7Ozs7O0FBU2UsU0FBU0EsY0FBVCxHQUEwQjtBQUN2QztBQUNBLFFBQU1DLEtBQUssQ0FBQyxrQkFBRCxDQUFYO0FBQ0Q7O0FBRU0sTUFBTUMsOEJBQThCLEdBQUcsRUFBdkMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIENvcHlyaWdodCAoYykgRmFjZWJvb2ssIEluYy4gYW5kIGl0cyBhZmZpbGlhdGVzLlxuICpcbiAqIFRoaXMgc291cmNlIGNvZGUgaXMgbGljZW5zZWQgdW5kZXIgdGhlIE1JVCBsaWNlbnNlIGZvdW5kIGluIHRoZVxuICogTElDRU5TRSBmaWxlIGluIHRoZSByb290IGRpcmVjdG9yeSBvZiB0aGlzIHNvdXJjZSB0cmVlLlxuICpcbiAqIEBmbG93XG4gKi9cblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gdGVzdEVyb3JyU3RhY2soKSB7XG4gIC8vIElmIHNvdXJjZSBtYXBzIGFyZSBhcHBsaWVkLCB0aGlzIEVycm9yIHdpbGwgaGF2ZSBhIHN0YWNrIGZyYW1lIHdpdGggbGluZSAxMi5cbiAgdGhyb3cgRXJyb3IoJ1Rlc3QgRXJyb3Igc3RhY2snKTtcbn1cblxuZXhwb3J0IGNvbnN0IFNPVVJDRV9TVEFDS19GUkFNRV9MSU5FX05VTUJFUiA9IDEyOyJdfQ==
//# sourceURL=testErrorStack.js

Domain

Subdomains

Functions

Frequently Asked Questions

What does ErrorTesterCompiled.js do?
ErrorTesterCompiled.js is a source file in the react codebase, written in javascript. It belongs to the BabelCompiler domain, Validation subdomain.
What functions are defined in ErrorTesterCompiled.js?
ErrorTesterCompiled.js defines 1 function(s): testErrorStack.
What files import ErrorTesterCompiled.js?
ErrorTesterCompiled.js is imported by 1 file(s): ErrorTester.js.
Where is ErrorTesterCompiled.js in the architecture?
ErrorTesterCompiled.js is located at packages/react-devtools-shared/src/hooks/ErrorTesterCompiled.js (domain: BabelCompiler, subdomain: Validation, directory: packages/react-devtools-shared/src/hooks).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free