Type Alias: RenderErrorKind
API / @xmachines/play-svelte / RenderErrorKind
type RenderErrorKind = "element" | "props" | "visible" | "action" | "watch" | "root";Defined in: @xmachines/json-render-core
The place where a failure occurred.
element: the component threw while it rendered, in an effect or a lifecycle hook, or in a callback that it calls in those phases.props: a prop expression of an element threw ($computed, a directive).visible: thevisiblecondition of an element threw.action: anonchain failed: a handler that throws or rejects, a built-in action, a store that refuses a write, orvalidateForm.watch: awatchchain failed.root: the root (its component, props orvisible) failed, so the renderer shows nothing.