

const require_CredoError = require('./CredoError.js');
const require_zod_error = require('../utils/zod-error.js');
let zod = require("zod");

//#region src/error/ZodValidationError.ts
var ZodValidationError = class extends require_CredoError.CredoError {
	constructor(message, zodError) {
		const formattedError = require_zod_error.formatZodError(zodError);
		super(`${message}\n${formattedError}`);
		this.zodError = zodError;
	}
};

//#endregion
exports.ZodValidationError = ZodValidationError;