Skip to content

Function: reportUserError() ​

ts
function reportUserError(error): void;

Experimental

Report an error thrown by user code (an event listener or a callback) without interrupting the chart (S1.7): reportError where available, so the console and error trackers see it as uncaught, else a rethrow on a microtask.

Parameters ​

ParameterType
errorunknown

Returns ​

void

Released under the MIT License.