We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d367052 commit c79553bCopy full SHA for c79553b
packages/svelte/src/internal/client/error-handling.js
@@ -30,8 +30,7 @@ export function handle_error(error) {
30
throw error;
31
}
32
33
- // @ts-expect-error
34
- effect.fn(error);
+ /** @type {Boundary} */ (effect.b).error(error);
35
} else {
36
// otherwise we bubble up the effect tree ourselves
37
invoke_error_boundary(error, effect);
0 commit comments