Skip to main content
Version: Next

reportError

function reportError(error): void;

Dispatch an uncaught exception. Similar to synchronous version of setTimeout(() => {throw error;}, 0);.

Parameters

ParameterTypeDescription

error

any

Anything to be thrown.

Returns

void