unionExpectedVals() — astro Function Reference
Architecture documentation for the unionExpectedVals() function in error-map.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD b45d1f6c_e510_3be5_5548_4588b76af254["unionExpectedVals()"] f426a7f0_b6be_5991_9420_b6012c0b085e["error-map.ts"] b45d1f6c_e510_3be5_5548_4588b76af254 -->|defined in| f426a7f0_b6be_5991_9420_b6012c0b085e b10081c1_9df6_e153_bd75_e6bbba0c2439["getTypeOrLiteralMsg()"] b10081c1_9df6_e153_bd75_e6bbba0c2439 -->|calls| b45d1f6c_e510_3be5_5548_4588b76af254 31caee36_8f64_3f96_7288_6ddadd726f5d["stringify()"] b45d1f6c_e510_3be5_5548_4588b76af254 -->|calls| 31caee36_8f64_3f96_7288_6ddadd726f5d style b45d1f6c_e510_3be5_5548_4588b76af254 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/db/src/core/integration/error-map.ts lines 123–124
const unionExpectedVals = (expectedVals: Set<unknown>) =>
[...expectedVals].map((expectedVal) => stringify(expectedVal)).join(' | ');
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does unionExpectedVals() do?
unionExpectedVals() is a function in the astro codebase, defined in packages/db/src/core/integration/error-map.ts.
Where is unionExpectedVals() defined?
unionExpectedVals() is defined in packages/db/src/core/integration/error-map.ts at line 123.
What does unionExpectedVals() call?
unionExpectedVals() calls 1 function(s): stringify.
What calls unionExpectedVals()?
unionExpectedVals() is called by 1 function(s): getTypeOrLiteralMsg.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free