svelte_element_invalid_this_value() — svelte Function Reference
Architecture documentation for the svelte_element_invalid_this_value() function in errors.js from the svelte codebase.
Entity Profile
Dependency Diagram
graph TD 7702c518_aeb8_119b_4620_171cd542210f["svelte_element_invalid_this_value()"] 5f3f0166_650d_4313_aa8b_50ab02160104["errors.js"] 7702c518_aeb8_119b_4620_171cd542210f -->|defined in| 5f3f0166_650d_4313_aa8b_50ab02160104 5e475362_1671_9001_1dfa_184cc059f43f["validate_dynamic_element_tag()"] 5e475362_1671_9001_1dfa_184cc059f43f -->|calls| 7702c518_aeb8_119b_4620_171cd542210f style 7702c518_aeb8_119b_4620_171cd542210f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/svelte/src/internal/shared/errors.js lines 124–134
export function svelte_element_invalid_this_value() {
if (DEV) {
const error = new Error(`svelte_element_invalid_this_value\nThe \`this\` prop on \`<svelte:element>\` must be a string, if defined\nhttps://svelte.dev/e/svelte_element_invalid_this_value`);
error.name = 'Svelte error';
throw error;
} else {
throw new Error(`https://svelte.dev/e/svelte_element_invalid_this_value`);
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does svelte_element_invalid_this_value() do?
svelte_element_invalid_this_value() is a function in the svelte codebase, defined in packages/svelte/src/internal/shared/errors.js.
Where is svelte_element_invalid_this_value() defined?
svelte_element_invalid_this_value() is defined in packages/svelte/src/internal/shared/errors.js at line 124.
What calls svelte_element_invalid_this_value()?
svelte_element_invalid_this_value() is called by 1 function(s): validate_dynamic_element_tag.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free