Skip to Content
✨ Svelte Flow 1.0 is here! Rewritten for Svelte 5 with many new features and improvements.

OnError

Source on GitHub 

The OnError type is a callback function that is called when an error occurs in SvelteFlow. It receives the error ID and a message describing the error.

type OnError = (id: string, message: string) => void;
Parameters:
NameTypeDefault
idstring
messagestring
Returns:
void
Last updated on