handle MethodStatic
call this method when an unexpected error happens so the global handler can process it.
handle(error: any, notifyTelemetry: boolean = true): void
| Parameter | Type | Description |
|---|---|---|
| error | any | the unexpected error |
| notifyTelemetry | boolean | if false, don't notify telemetry trackers. Use this for exceptions from third-party code, for example. |
Returns - void
Defined in
Last Updated: 24 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.