Home / Function/ error() — tailwindcss Function Reference

error() — tailwindcss Function Reference

Architecture documentation for the error() function in renderer.ts from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  aad2b44f_7d63_9c23_fd06_f010fcd02b2b["error()"]
  6a659766_1d3a_b133_2d7b_62f11f4e9450["analyze()"]
  6a659766_1d3a_b133_2d7b_62f11f4e9450 -->|calls| aad2b44f_7d63_9c23_fd06_f010fcd02b2b
  cbddaa36_42d2_e648_576c_630798f80b7c["linkConfigs()"]
  cbddaa36_42d2_e648_576c_630798f80b7c -->|calls| aad2b44f_7d63_9c23_fd06_f010fcd02b2b
  d1aa21a8_ad44_6ad5_f1e9_8c1f02bbff2d["prepareConfig()"]
  d1aa21a8_ad44_6ad5_f1e9_8c1f02bbff2d -->|calls| aad2b44f_7d63_9c23_fd06_f010fcd02b2b
  eb8ababf_fa35_08e1_76f8_c2b2cea868b8["run()"]
  eb8ababf_fa35_08e1_76f8_c2b2cea868b8 -->|calls| aad2b44f_7d63_9c23_fd06_f010fcd02b2b
  00cccf76_743c_3b0f_179f_c3f05c433097["pkg()"]
  00cccf76_743c_3b0f_179f_c3f05c433097 -->|calls| aad2b44f_7d63_9c23_fd06_f010fcd02b2b
  c3280d10_269f_8701_bd4c_48a551b9b4ae["log()"]
  aad2b44f_7d63_9c23_fd06_f010fcd02b2b -->|calls| c3280d10_269f_8701_bd4c_48a551b9b4ae
  style aad2b44f_7d63_9c23_fd06_f010fcd02b2b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/@tailwindcss-upgrade/src/utils/renderer.ts lines 116–118

export function error(message: string, { prefix = '', print = eprintln } = {}) {
  log(message, { art: pc.red('\u2502'), prefix, print })
}

Domain

Subdomains

Calls

Frequently Asked Questions

What does error() do?
error() is a function in the tailwindcss codebase.
What does error() call?
error() calls 1 function(s): log.
What calls error()?
error() is called by 5 function(s): analyze, linkConfigs, pkg, prepareConfig, run.

Analyze Your Own Codebase

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

Try Supermodel Free