error() — astro Function Reference
Architecture documentation for the error() function in core.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 40be6b21_6e48_10a9_29bc_0dfe896dbd6b["error()"] 02538c7d_0423_3484_a5c8_415c85ba2988["core.ts"] 40be6b21_6e48_10a9_29bc_0dfe896dbd6b -->|defined in| 02538c7d_0423_3484_a5c8_415c85ba2988 b83bad93_3b95_235c_a065_775076cc7c95["error()"] b83bad93_3b95_235c_a065_775076cc7c95 -->|calls| 40be6b21_6e48_10a9_29bc_0dfe896dbd6b 19e356c6_6c03_a6d6_9798_9ae3d1f33c3b["error()"] 19e356c6_6c03_a6d6_9798_9ae3d1f33c3b -->|calls| 40be6b21_6e48_10a9_29bc_0dfe896dbd6b cd067746_f2d0_f6e1_7f9f_4e101d90b6f8["log()"] 40be6b21_6e48_10a9_29bc_0dfe896dbd6b -->|calls| cd067746_f2d0_f6e1_7f9f_4e101d90b6f8 19e356c6_6c03_a6d6_9798_9ae3d1f33c3b["error()"] 40be6b21_6e48_10a9_29bc_0dfe896dbd6b -->|calls| 19e356c6_6c03_a6d6_9798_9ae3d1f33c3b style 40be6b21_6e48_10a9_29bc_0dfe896dbd6b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/core/logger/core.ts lines 120–122
function error(opts: LogOptions, label: string | null, message: string, newLine = true) {
return log(opts, 'error', label, message, newLine);
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does error() do?
error() is a function in the astro codebase, defined in packages/astro/src/core/logger/core.ts.
Where is error() defined?
error() is defined in packages/astro/src/core/logger/core.ts at line 120.
What does error() call?
error() calls 2 function(s): error, log.
What calls error()?
error() is called by 2 function(s): error, error.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free