10 lines
403 B
TypeScript
10 lines
403 B
TypeScript
import type { Event } from '@sentry/node';
|
|
import type { ErrorLevel, ReportingOptions } from './types';
|
|
export declare class ApplicationError extends Error {
|
|
level: ErrorLevel;
|
|
readonly tags: NonNullable<Event['tags']>;
|
|
readonly extra?: Event['extra'];
|
|
readonly packageName?: string;
|
|
constructor(message: string, { level, tags, extra, ...rest }?: ErrorOptions & ReportingOptions);
|
|
}
|