@sentry/core
Version:
Base implementation for all Sentry JavaScript SDKs
12 lines • 484 B
TypeScript
import type { Event, EventHint } from '@sentry/types';
interface ZodErrorsOptions {
key?: string;
limit?: number;
}
/**
* Applies ZodError issues to an event extras and replaces the error message
*/
export declare function applyZodErrorsToEvent(limit: number, event: Event, hint?: EventHint): Event;
export declare const zodErrorsIntegration: (options?: ZodErrorsOptions | undefined) => import("@sentry/types").Integration;
export {};
//# sourceMappingURL=zoderrors.d.ts.map