Home / Function/ svelte_boundary_reset_onerror() — svelte Function Reference

svelte_boundary_reset_onerror() — svelte Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  6a40527b_ca35_3e05_733a_42a463b9534d["svelte_boundary_reset_onerror()"]
  ff387d97_d6d2_81e0_e731_656552709d27["errors.js"]
  6a40527b_ca35_3e05_733a_42a463b9534d -->|defined in| ff387d97_d6d2_81e0_e731_656552709d27
  4eea2345_5d26_6ea8_43e3_80ca7101b747["error()"]
  4eea2345_5d26_6ea8_43e3_80ca7101b747 -->|calls| 6a40527b_ca35_3e05_733a_42a463b9534d
  style 6a40527b_ca35_3e05_733a_42a463b9534d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/svelte/src/internal/client/errors.js lines 481–491

export function svelte_boundary_reset_onerror() {
	if (DEV) {
		const error = new Error(`svelte_boundary_reset_onerror\nA \`<svelte:boundary>\` \`reset\` function cannot be called while an error is still being handled\nhttps://svelte.dev/e/svelte_boundary_reset_onerror`);

		error.name = 'Svelte error';

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

Domain

Subdomains

Called By

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free