Home / Function/ state_descriptors_fixed() — svelte Function Reference

state_descriptors_fixed() — svelte Function Reference

Architecture documentation for the state_descriptors_fixed() function in errors.js from the svelte codebase.

Entity Profile

Dependency Diagram

graph TD
  3086f82b_cdf1_11bf_2154_ee5083b82091["state_descriptors_fixed()"]
  ff387d97_d6d2_81e0_e731_656552709d27["errors.js"]
  3086f82b_cdf1_11bf_2154_ee5083b82091 -->|defined in| ff387d97_d6d2_81e0_e731_656552709d27
  c55b2607_d45b_c327_8826_7bdf245d80f6["proxy()"]
  c55b2607_d45b_c327_8826_7bdf245d80f6 -->|calls| 3086f82b_cdf1_11bf_2154_ee5083b82091
  style 3086f82b_cdf1_11bf_2154_ee5083b82091 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/svelte/src/internal/client/errors.js lines 433–443

export function state_descriptors_fixed() {
	if (DEV) {
		const error = new Error(`state_descriptors_fixed\nProperty descriptors defined on \`$state\` objects must contain \`value\` and always be \`enumerable\`, \`configurable\` and \`writable\`.\nhttps://svelte.dev/e/state_descriptors_fixed`);

		error.name = 'Svelte error';

		throw error;
	} else {
		throw new Error(`https://svelte.dev/e/state_descriptors_fixed`);
	}
}

Domain

Subdomains

Called By

Frequently Asked Questions

What does state_descriptors_fixed() do?
state_descriptors_fixed() is a function in the svelte codebase, defined in packages/svelte/src/internal/client/errors.js.
Where is state_descriptors_fixed() defined?
state_descriptors_fixed() is defined in packages/svelte/src/internal/client/errors.js at line 433.
What calls state_descriptors_fixed()?
state_descriptors_fixed() is called by 1 function(s): proxy.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free