err() — vite Function Reference
Architecture documentation for the err() function in importMetaGlob.ts from the vite codebase.
Entity Profile
Dependency Diagram
graph TD 97ec4c6d_f8dd_eac0_9f3c_6fbc9c14481f["err()"] b68d9c02_4026_8cfa_8eb1_35ec4a8f23cb["importMetaGlob.ts"] 97ec4c6d_f8dd_eac0_9f3c_6fbc9c14481f -->|defined in| b68d9c02_4026_8cfa_8eb1_35ec4a8f23cb 82795e66_8dfd_fa82_3c8a_e25c455f5e42["parseGlobOptions()"] 82795e66_8dfd_fa82_3c8a_e25c455f5e42 -->|calls| 97ec4c6d_f8dd_eac0_9f3c_6fbc9c14481f e4ded9fb_6262_73a6_ae73_068c08e2b994["parseImportGlob()"] e4ded9fb_6262_73a6_ae73_068c08e2b994 -->|calls| 97ec4c6d_f8dd_eac0_9f3c_6fbc9c14481f style 97ec4c6d_f8dd_eac0_9f3c_6fbc9c14481f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/vite/src/node/plugins/importMetaGlob.ts lines 141–145
function err(e: string, pos: number) {
const error = new Error(e) as RollupError
error.pos = pos
return error
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does err() do?
err() is a function in the vite codebase, defined in packages/vite/src/node/plugins/importMetaGlob.ts.
Where is err() defined?
err() is defined in packages/vite/src/node/plugins/importMetaGlob.ts at line 141.
What calls err()?
err() is called by 2 function(s): parseGlobOptions, parseImportGlob.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free