Skip to content

Type Alias: RenderErrorKind

API / @xmachines/play-solid / 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: the visible condition of an element threw.
  • action: an on chain failed: a handler that throws or rejects, a built-in action, a store that refuses a write, or validateForm.
  • watch: a watch chain failed.
  • root: the root (its component, props or visible) failed, so the renderer shows nothing.