ExceptionsMode Type — react Architecture
Architecture documentation for the ExceptionsMode type/interface in HIRBuilder.ts from the react codebase.
Entity Profile
Dependency Diagram
graph TD 5c8b4fef_839a_04a7_80b3_4dba7a43dc5b["ExceptionsMode"] df6865e0_b573_e905_84d6_4eb6b419a888["HIRBuilder.ts"] 5c8b4fef_839a_04a7_80b3_4dba7a43dc5b -->|defined in| df6865e0_b573_e905_84d6_4eb6b419a888 style 5c8b4fef_839a_04a7_80b3_4dba7a43dc5b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
compiler/packages/babel-plugin-react-compiler/src/HIR/HIRBuilder.ts lines 90–101
export type ExceptionsMode =
/*
* Mode used for code not covered by explicit exception handling, any
* errors are assumed to be thrown out of the function
*/
| {kind: 'ThrowExceptions'}
/*
* Mode used for code that *is* covered by explicit exception handling
* (ie try/catch), which requires modeling the possibility of control
* flow to the exception handler.
*/
| {kind: 'CatchExceptions'; handler: BlockId};
Source
Frequently Asked Questions
What is the ExceptionsMode type?
ExceptionsMode is a type/interface in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/HIR/HIRBuilder.ts.
Where is ExceptionsMode defined?
ExceptionsMode is defined in compiler/packages/babel-plugin-react-compiler/src/HIR/HIRBuilder.ts at line 90.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free