Home / Function/ stringify() — astro Function Reference

stringify() — astro Function Reference

Architecture documentation for the stringify() function in error-map.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  31caee36_8f64_3f96_7288_6ddadd726f5d["stringify()"]
  f426a7f0_b6be_5991_9420_b6012c0b085e["error-map.ts"]
  31caee36_8f64_3f96_7288_6ddadd726f5d -->|defined in| f426a7f0_b6be_5991_9420_b6012c0b085e
  f0e6d2c1_39ba_572e_b75c_8fa03ac80980["errorMap()"]
  f0e6d2c1_39ba_572e_b75c_8fa03ac80980 -->|calls| 31caee36_8f64_3f96_7288_6ddadd726f5d
  b10081c1_9df6_e153_bd75_e6bbba0c2439["getTypeOrLiteralMsg()"]
  b10081c1_9df6_e153_bd75_e6bbba0c2439 -->|calls| 31caee36_8f64_3f96_7288_6ddadd726f5d
  b45d1f6c_e510_3be5_5548_4588b76af254["unionExpectedVals()"]
  b45d1f6c_e510_3be5_5548_4588b76af254 -->|calls| 31caee36_8f64_3f96_7288_6ddadd726f5d
  style 31caee36_8f64_3f96_7288_6ddadd726f5d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/db/src/core/integration/error-map.ts lines 129–130

const stringify = (val: unknown) =>
	JSON.stringify(val, null, 1).split(newlinePlusWhitespace).join(' ');

Domain

Subdomains

Frequently Asked Questions

What does stringify() do?
stringify() is a function in the astro codebase, defined in packages/db/src/core/integration/error-map.ts.
Where is stringify() defined?
stringify() is defined in packages/db/src/core/integration/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