stopCollectingUnhandledAsyncErrors
Closes the window opened by startCollectingUnhandledAsyncErrors and returns the unhandled async errors collected while it was open.
Import:
import { stopCollectingUnhandledAsyncErrors } from 'obsidian-dev-utils/error';Signature:
function stopCollectingUnhandledAsyncErrors(): unknown[]Returns: unknown[] — The collected unhandled async errors, or an empty array if no window was open.
Links to this page: