throwInvalidConfig() — react Function Reference
Architecture documentation for the throwInvalidConfig() function in CompilerError.ts from the react codebase.
Entity Profile
Dependency Diagram
graph TD f4dabc03_d648_e2d6_19ef_83872ae711d3["throwInvalidConfig()"] e51fd0d2_bb38_cc97_7763_efe37f300a47["CompilerError"] f4dabc03_d648_e2d6_19ef_83872ae711d3 -->|defined in| e51fd0d2_bb38_cc97_7763_efe37f300a47 24cdb07f_f37c_ae1f_e990_0390441e2808["parsePluginOptions()"] 24cdb07f_f37c_ae1f_e990_0390441e2808 -->|calls| f4dabc03_d648_e2d6_19ef_83872ae711d3 c3310103_d462_d9f3_3830_423274c8a1af["parseTargetConfig()"] c3310103_d462_d9f3_3830_423274c8a1af -->|calls| f4dabc03_d648_e2d6_19ef_83872ae711d3 bec8431d_08f7_cef1_8a71_8be17fc7a31a["constructor()"] bec8431d_08f7_cef1_8a71_8be17fc7a31a -->|calls| f4dabc03_d648_e2d6_19ef_83872ae711d3 7a9cb2a9_3a71_c8b5_2c56_ccdd941f7d64["moduleName()"] 7a9cb2a9_3a71_c8b5_2c56_ccdd941f7d64 -->|calls| f4dabc03_d648_e2d6_19ef_83872ae711d3 17e4ff3c_e626_9c9b_1534_00488fccdf5c["getGlobalDeclaration()"] 17e4ff3c_e626_9c9b_1534_00488fccdf5c -->|calls| f4dabc03_d648_e2d6_19ef_83872ae711d3 6c1acf23_fc6a_ba55_a3da_d74bda8bb5a5["validateEnvironmentConfig()"] 6c1acf23_fc6a_ba55_a3da_d74bda8bb5a5 -->|calls| f4dabc03_d648_e2d6_19ef_83872ae711d3 3d8c9cf4_b77b_a09b_46bb_a39cfadd4173["tryParseExternalFunction()"] 3d8c9cf4_b77b_a09b_46bb_a39cfadd4173 -->|calls| f4dabc03_d648_e2d6_19ef_83872ae711d3 825ba705_282a_7031_34fa_49b26f1c9bed["pushErrorDetail()"] f4dabc03_d648_e2d6_19ef_83872ae711d3 -->|calls| 825ba705_282a_7031_34fa_49b26f1c9bed style f4dabc03_d648_e2d6_19ef_83872ae711d3 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
compiler/packages/babel-plugin-react-compiler/src/CompilerError.ts lines 371–382
static throwInvalidConfig(
options: Omit<CompilerErrorDetailOptions, 'category'>,
): never {
const errors = new CompilerError();
errors.pushErrorDetail(
new CompilerErrorDetail({
...options,
category: ErrorCategory.Config,
}),
);
throw errors;
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does throwInvalidConfig() do?
throwInvalidConfig() is a function in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/CompilerError.ts.
Where is throwInvalidConfig() defined?
throwInvalidConfig() is defined in compiler/packages/babel-plugin-react-compiler/src/CompilerError.ts at line 371.
What does throwInvalidConfig() call?
throwInvalidConfig() calls 1 function(s): pushErrorDetail.
What calls throwInvalidConfig()?
throwInvalidConfig() is called by 7 function(s): constructor, getGlobalDeclaration, moduleName, parsePluginOptions, parseTargetConfig, tryParseExternalFunction, validateEnvironmentConfig.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free