frontend/.pnpm-store/v3/files/1a/56228115f87be37b438f00833d542f9ff2566aebb0cc81cfe9f1f48dec91e7726718996265b6aae915bbfc8572427733c8626a53e676ce71913281acafa6ad

14 lines
411 B
Plaintext

import { config } from '../config';
import { timeoutProvider } from '../scheduler/timeoutProvider';
export function reportUnhandledError(err) {
timeoutProvider.setTimeout(() => {
const { onUnhandledError } = config;
if (onUnhandledError) {
onUnhandledError(err);
}
else {
throw err;
}
});
}
//# sourceMappingURL=reportUnhandledError.js.map