UNPKG

778 BTypeScriptView Raw
1import { ClientOptions, Options } from '@sentry/types';
2import { NodeTransportOptions } from './transports';
3export interface BaseNodeOptions {
4 /** Sets an optional server name (device name) */
5 serverName?: string;
6 /** Callback that is executed when a fatal global error occurs. */
7 onFatalError?(error: Error): void;
8}
9/**
10 * Configuration options for the Sentry Node SDK
11 * @see @sentry/types Options for more information.
12 */
13export interface NodeOptions extends Options<NodeTransportOptions>, BaseNodeOptions {
14}
15/**
16 * Configuration options for the Sentry Node SDK Client class
17 * @see NodeClient for more information.
18 */
19export interface NodeClientOptions extends ClientOptions<NodeTransportOptions>, BaseNodeOptions {
20}
21//# sourceMappingURL=types.d.ts.map
\No newline at end of file