Type Alias: OnRenderError
API / @xmachines/play-svelte / OnRenderError
type OnRenderError = (error, name, info) => void;Defined in: @xmachines/json-render-core
The onRenderError handler of a renderer.
The second argument stays as it was: the element type for a failure of an
element, or the action name for a failed chain. info tells them apart. A
handler with two parameters is still a valid handler.
Parameters
| Parameter | Type |
|---|---|
error | unknown |
name | string |
info | RenderErrorInfo |
Returns
void