UNPKG

langchain

Version:
19 lines (17 loc) 453 B
import { z } from "zod/v4"; //#region src/agents/middleware/error.ts /** * Error thrown when the configuration for a retry middleware is invalid. */ var InvalidRetryConfigError = class extends Error { cause; constructor(error) { const message = z.prettifyError(error).slice(2); super(message); this.name = "InvalidRetryConfigError"; this.cause = error; } }; //#endregion export { InvalidRetryConfigError }; //# sourceMappingURL=error.js.map