stringify() — astro Function Reference
Architecture documentation for the stringify() function in zod-error-map.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD ec2e794d_f0eb_1031_50b3_9bed5804ebc8["stringify()"] c4702bad_5cd3_4ff4_dfb3_9107bd3ef578["zod-error-map.ts"] ec2e794d_f0eb_1031_50b3_9bed5804ebc8 -->|defined in| c4702bad_5cd3_4ff4_dfb3_9107bd3ef578 0518bc8c_7d4c_5826_2e65_b4a7da62d4f9["errorMap()"] 0518bc8c_7d4c_5826_2e65_b4a7da62d4f9 -->|calls| ec2e794d_f0eb_1031_50b3_9bed5804ebc8 c4289dde_e80c_3ee3_26bf_34ab19c7c1e0["getTypeOrLiteralMsg()"] c4289dde_e80c_3ee3_26bf_34ab19c7c1e0 -->|calls| ec2e794d_f0eb_1031_50b3_9bed5804ebc8 195ae4f8_5ad1_28c2_a579_82ad38b03171["unionExpectedVals()"] 195ae4f8_5ad1_28c2_a579_82ad38b03171 -->|calls| ec2e794d_f0eb_1031_50b3_9bed5804ebc8 style ec2e794d_f0eb_1031_50b3_9bed5804ebc8 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/core/errors/zod-error-map.ts lines 129–130
const stringify = (val: unknown) =>
JSON.stringify(val, null, 1).split(newlinePlusWhitespace).join(' ');
Domain
Subdomains
Source
Frequently Asked Questions
What does stringify() do?
stringify() is a function in the astro codebase, defined in packages/astro/src/core/errors/zod-error-map.ts.
Where is stringify() defined?
stringify() is defined in packages/astro/src/core/errors/zod-error-map.ts at line 129.
What calls stringify()?
stringify() is called by 3 function(s): errorMap, getTypeOrLiteralMsg, unionExpectedVals.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free