API ReferencesWeb APIfunctionsreportErrorVersion: NextOn this pagereportErrorfunction reportError(error): void; Dispatch an uncaught exception. Similar to synchronous version of setTimeout(() => {throw error;}, 0);. Parameters ParameterTypeDescriptionerroranyAnything to be thrown. Returns void