@juspay/neurolink
Version:
Universal AI Development Platform with working MCP integration, multi-provider support, voice (TTS/STT/realtime), and professional CLI. 58+ external MCP servers discoverable, multimodal file processing, RAG pipelines. Build, test, and deploy AI applicatio
23 lines (22 loc) • 629 B
JavaScript
/**
* types/workflowTypes.ts
* Core type definitions for the Workflow Engine
*
* Testing Phase: Focuses on original output + evaluation metrics for AB testing
*/
/**
* Workflow execution error class
*/
export class WorkflowError extends Error {
details;
constructor(message, details) {
super(message);
this.name = "WorkflowError";
this.details = details;
// Maintain proper stack trace for V8 engines
if ("captureStackTrace" in Error &&
typeof Error.captureStackTrace === "function") {
Error.captureStackTrace(this, WorkflowError);
}
}
}