html_deprecated() — svelte Function Reference
Architecture documentation for the html_deprecated() function in errors.js from the svelte codebase.
Entity Profile
Dependency Diagram
graph TD 7477d521_f321_225e_dc68_2670483b4eb2["html_deprecated()"] 1be66f4d_2d88_0e0e_101f_b797d9d3d974["errors.js"] 7477d521_f321_225e_dc68_2670483b4eb2 -->|defined in| 1be66f4d_2d88_0e0e_101f_b797d9d3d974 0e7d962a_a9dc_dd52_b1ce_a42e71ceda44["render()"] 0e7d962a_a9dc_dd52_b1ce_a42e71ceda44 -->|calls| 7477d521_f321_225e_dc68_2670483b4eb2 style 7477d521_f321_225e_dc68_2670483b4eb2 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/svelte/src/internal/server/errors.js lines 33–39
export function html_deprecated() {
const error = new Error(`html_deprecated\nThe \`html\` property of server render results has been deprecated. Use \`body\` instead.\nhttps://svelte.dev/e/html_deprecated`);
error.name = 'Svelte error';
throw error;
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does html_deprecated() do?
html_deprecated() is a function in the svelte codebase, defined in packages/svelte/src/internal/server/errors.js.
Where is html_deprecated() defined?
html_deprecated() is defined in packages/svelte/src/internal/server/errors.js at line 33.
What calls html_deprecated()?
html_deprecated() is called by 1 function(s): render.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free