backtrace-node
Version:
Backtrace error reporting tool
30 lines (29 loc) • 893 B
TypeScript
export declare class BacktraceClientOptions implements IBacktraceClientOptions {
timeout: number;
endpoint: string;
token?: string;
attributes: object;
disableGlobalHandler: boolean;
handlePromises: boolean;
allowMultipleUncaughtExceptionListeners: boolean;
tabWidth: number;
contextLineCount: number;
sampling: number | undefined;
rateLimit: number;
debugBacktrace: boolean;
enableMetricsSupport: boolean;
metricsSubmissionUrl?: string;
}
export interface IBacktraceClientOptions {
timeout?: number;
endpoint: string;
token?: string;
attributes?: object;
disableGlobalHandler?: boolean;
handlePromises?: boolean;
allowMultipleUncaughtExceptionListeners?: boolean;
tabWidth?: number;
contextLineCount?: number;
sampling?: number | undefined;
rateLimit?: number;
}