@sentry/google-cloud-serverless
Version:
Official Sentry SDK for Google Cloud Functions
10 lines • 382 B
TypeScript
import type { HttpFunction, WrapperOptions } from './general';
/**
* Wraps an HTTP function handler adding it error capture and tracing capabilities.
*
* @param fn HTTP Handler
* @param options Options
* @returns HTTP handler
*/
export declare function wrapHttpFunction(fn: HttpFunction, wrapOptions?: Partial<WrapperOptions>): HttpFunction;
//# sourceMappingURL=http.d.ts.map