UNPKG

@sentry/wizard

Version:

Sentry wizard helping you to configure your project

7 lines (6 loc) 393 B
/** * Applies the @param modifyCallback and records Sentry tags if the call failed. * In case of a failure, a tag is set with @param reason as a fail reason * and the error is rethrown. */ export declare function modifyAndRecordFail<T>(modifyCallback: () => T | Promise<T>, reason: string, fileType: 'server-hooks' | 'client-hooks' | 'vite-cfg' | 'instrumentation-server'): Promise<void>;