@sentry/browser
Version:
Official Sentry SDK for browsers
42 lines • 1.03 kB
TypeScript
import { Event, EventHint, Exception, ExtendedError, Integration, StackParser } from '@sentry/types';
interface LinkedErrorsOptions {
key: string;
limit: number;
}
/** Adds SDK info to an event. */
export declare class LinkedErrors implements Integration {
/**
* @inheritDoc
*/
static id: string;
/**
* @inheritDoc
*/
readonly name: string;
/**
* @inheritDoc
*/
private readonly _key;
/**
* @inheritDoc
*/
private readonly _limit;
/**
* @inheritDoc
*/
constructor(options?: Partial<LinkedErrorsOptions>);
/**
* @inheritDoc
*/
setupOnce(): void;
}
/**
* @inheritDoc
*/
export declare function _handler(parser: StackParser, key: string, limit: number, event: Event, hint?: EventHint): Event | null;
/**
* JSDOC
*/
export declare function _walkErrorTree(parser: StackParser, limit: number, error: ExtendedError, key: string, stack?: Exception[]): Exception[];
export {};
//# sourceMappingURL=linkederrors.d.ts.map