Home / Function/ pushError() — react Function Reference

pushError() — react Function Reference

Architecture documentation for the pushError() function in TransformFire.ts from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  7d01f68a_73c6_619d_f94a_4a30b935a1dc["pushError()"]
  1cc5203c_bda6_d474_ce02_0de0532830f0["Context"]
  7d01f68a_73c6_619d_f94a_4a30b935a1dc -->|defined in| 1cc5203c_bda6_d474_ce02_0de0532830f0
  38224692_55f3_a937_63fd_e0266e855650["replaceFireFunctions()"]
  38224692_55f3_a937_63fd_e0266e855650 -->|calls| 7d01f68a_73c6_619d_f94a_4a30b935a1dc
  6e048cfd_d7b0_b702_7929_3e87d8dcd51c["ensureNoRemainingCalleeCaptures()"]
  6e048cfd_d7b0_b702_7929_3e87d8dcd51c -->|calls| 7d01f68a_73c6_619d_f94a_4a30b935a1dc
  d2181b26_6497_c534_1059_eea301950095["ensureNoMoreFireUses()"]
  d2181b26_6497_c534_1059_eea301950095 -->|calls| 7d01f68a_73c6_619d_f94a_4a30b935a1dc
  53244187_914c_cc90_5880_7bfc1fc9c0bb["push()"]
  7d01f68a_73c6_619d_f94a_4a30b935a1dc -->|calls| 53244187_914c_cc90_5880_7bfc1fc9c0bb
  style 7d01f68a_73c6_619d_f94a_4a30b935a1dc fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

compiler/packages/babel-plugin-react-compiler/src/Transform/TransformFire.ts lines 591–593

  pushError(error: CompilerErrorDetailOptions): void {
    this.#errors.push(error);
  }

Domain

Subdomains

Calls

Frequently Asked Questions

What does pushError() do?
pushError() is a function in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/Transform/TransformFire.ts.
Where is pushError() defined?
pushError() is defined in compiler/packages/babel-plugin-react-compiler/src/Transform/TransformFire.ts at line 591.
What does pushError() call?
pushError() calls 1 function(s): push.
What calls pushError()?
pushError() is called by 3 function(s): ensureNoMoreFireUses, ensureNoRemainingCalleeCaptures, replaceFireFunctions.

Analyze Your Own Codebase

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

Try Supermodel Free