UNPKG

484 BTypeScriptView Raw
1import type { Event, EventHint } from '@sentry/types';
2interface ZodErrorsOptions {
3 key?: string;
4 limit?: number;
5}
6/**
7 * Applies ZodError issues to an event extras and replaces the error message
8 */
9export declare function applyZodErrorsToEvent(limit: number, event: Event, hint?: EventHint): Event;
10export declare const zodErrorsIntegration: (options?: ZodErrorsOptions | undefined) => import("@sentry/types").Integration;
11export {};
12//# sourceMappingURL=zoderrors.d.ts.map
\No newline at end of file