frontend/.pnpm-store/v3/files/03/c89df94bb313b3a6822f49448eb1903bae0d499151d3a034a28f0956032452c0498942560d02cec39283df6fbd85850e5ba147b975bbec337b87012ae0d654

14 lines
571 B
Plaintext

/**
* Handles dealing with errors for super-gross mode. Creates a context, in which
* any synchronously thrown errors will be passed to {@link captureError}. Which
* will record the error such that it will be rethrown after the call back is complete.
* TODO: Remove in v8
* @param cb An immediately executed function.
*/
export declare function errorContext(cb: () => void): void;
/**
* Captures errors only in super-gross mode.
* @param err the error to capture
*/
export declare function captureError(err: any): void;
//# sourceMappingURL=errorContext.d.ts.map