import { ErrorCategory } from "./error-category.type.mjs"; import { AIErrorOptions } from "./ai-error.mjs"; import { WorkflowError } from "./workflow-error.mjs"; //#region ../ai/src/errors/routing-error.d.ts type RoutingErrorOptions = AIErrorOptions & { stepName: string; targetName?: string; }; /** * `nextStep` returned an invalid `goto`, or the `nextStep` callback * itself threw. Routing is authoritative and has no recovery path — * the workflow terminates immediately. */ declare class RoutingError extends WorkflowError { static readonly defaultCategory: ErrorCategory; readonly stepName: string; readonly targetName?: string; constructor(message: string, options: RoutingErrorOptions); } //#endregion export { RoutingError, RoutingErrorOptions }; //# sourceMappingURL=routing-error.d.mts.map