@nestjs/core
Version:
Nest - modern, fast, powerful node.js web framework (@core)
6 lines (5 loc) • 309 B
TypeScript
export declare class ExceptionsZone {
private static readonly exceptionHandler;
static run(callback: () => void, teardown?: (err: any) => void, autoFlushLogs?: boolean): void;
static asyncRun(callback: () => Promise<void>, teardown?: (err: any) => void, autoFlushLogs?: boolean): Promise<void>;
}