Home / Function/ isConfigError() — react Function Reference

isConfigError() — react Function Reference

Architecture documentation for the isConfigError() function in Program.ts from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  d647ab2e_0a6c_60a7_2ec1_f633ee76861a["isConfigError()"]
  9aa4477d_960b_1ea1_b6d9_36076aaa70bd["Program.ts"]
  d647ab2e_0a6c_60a7_2ec1_f633ee76861a -->|defined in| 9aa4477d_960b_1ea1_b6d9_36076aaa70bd
  4f591349_3d90_e4e5_51a6_a3b7ad077584["handleError()"]
  4f591349_3d90_e4e5_51a6_a3b7ad077584 -->|calls| d647ab2e_0a6c_60a7_2ec1_f633ee76861a
  style d647ab2e_0a6c_60a7_2ec1_f633ee76861a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

compiler/packages/babel-plugin-react-compiler/src/Entrypoint/Program.ts lines 150–155

function isConfigError(err: unknown): boolean {
  if (err instanceof CompilerError) {
    return err.details.some(detail => detail.category === ErrorCategory.Config);
  }
  return false;
}

Domain

Subdomains

Called By

Frequently Asked Questions

What does isConfigError() do?
isConfigError() is a function in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/Entrypoint/Program.ts.
Where is isConfigError() defined?
isConfigError() is defined in compiler/packages/babel-plugin-react-compiler/src/Entrypoint/Program.ts at line 150.
What calls isConfigError()?
isConfigError() is called by 1 function(s): handleError.

Analyze Your Own Codebase

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

Try Supermodel Free