Skip to content

textmode.synth.js / setGlobalErrorCallback

Function: setGlobalErrorCallback()

ts
function setGlobalErrorCallback(callback): void;

Set a global error callback for dynamic parameter evaluation errors.

Provides a centralized way for live coding environments to receive notifications whenever a dynamic parameter fails to evaluate.

Parameters

ParameterType
callback| DynamicErrorCallback | null

Returns

void

Example