Skip to content

Type Alias: OnRenderError

API / @xmachines/play-react / 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

ParameterType
errorunknown
namestring
infoRenderErrorInfo

Returns

void