Files
agent-claw/cdk/node_modules/aws-cdk/lib/cli/util/trap-errors.d.ts
2026-05-06 18:55:16 -05:00

7 lines
329 B
TypeScript

import type { IoHelper } from '../../api-private';
/**
* Run an async callback, swallowing any errors and logging them as debug messages.
* Use this for code paths that must never break CLI execution.
*/
export declare function trapErrors<T>(ioHelper: IoHelper, message: string, cb: () => Promise<T>): Promise<T | undefined>;