Home / Function/ withPrintedMessage() — react Function Reference

withPrintedMessage() — react Function Reference

Architecture documentation for the withPrintedMessage() function in CompilerError.ts from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  6a20f28b_fc1e_8208_a624_5583793f4029["withPrintedMessage()"]
  e51fd0d2_bb38_cc97_7763_efe37f300a47["CompilerError"]
  6a20f28b_fc1e_8208_a624_5583793f4029 -->|defined in| e51fd0d2_bb38_cc97_7763_efe37f300a47
  34f66651_e581_e609_943e_35ffa0dc79f5["printErrorMessage()"]
  6a20f28b_fc1e_8208_a624_5583793f4029 -->|calls| 34f66651_e581_e609_943e_35ffa0dc79f5
  style 6a20f28b_fc1e_8208_a624_5583793f4029 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

compiler/packages/babel-plugin-react-compiler/src/CompilerError.ts lines 413–419

  withPrintedMessage(
    source: string,
    options: PrintErrorMessageOptions,
  ): CompilerError {
    this.printedMessage = this.printErrorMessage(source, options);
    return this;
  }

Domain

Subdomains

Frequently Asked Questions

What does withPrintedMessage() do?
withPrintedMessage() is a function in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/CompilerError.ts.
Where is withPrintedMessage() defined?
withPrintedMessage() is defined in compiler/packages/babel-plugin-react-compiler/src/CompilerError.ts at line 413.
What does withPrintedMessage() call?
withPrintedMessage() calls 1 function(s): printErrorMessage.

Analyze Your Own Codebase

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

Try Supermodel Free