sentry-wechat-miniprogram
Version:
@sentry/browser 的微信小程序版本。
26 lines (25 loc) • 620 B
TypeScript
import { Integration } from '@sentry/types';
/** Wrap timer functions and event targets to catch errors and provide better meta data */
export declare class TryCatch implements Integration {
/** JSDoc */
private _ignoreOnError;
/**
* @inheritDoc
*/
name: string;
/**
* @inheritDoc
*/
static id: string;
/** JSDoc */
private _wrapTimeFunction;
/** JSDoc */
private _wrapRAF;
/** JSDoc */
private _wrapEventTarget;
/**
* Wrap timer functions and event targets to catch errors
* and provide better metadata.
*/
setupOnce(): void;
}