donobu
Version:
Create browser automations with an LLM agent and replay them as Playwright scripts.
18 lines • 775 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ActiveFlowNotFoundException = void 0;
const DonobuException_1 = require("./DonobuException");
/**
* This exception is thrown when a particular active flow is not found. Unlike
* FlowNotFoundException, this exception will be thrown even if the flow exists but is simply not
* in an active state.
*/
class ActiveFlowNotFoundException extends DonobuException_1.DonobuException {
constructor(flowId) {
super(`No active flow with ID '${flowId}' exists!`, undefined, // No separate internal message needed
404);
this.flowId = flowId;
}
}
exports.ActiveFlowNotFoundException = ActiveFlowNotFoundException;
//# sourceMappingURL=ActiveFlowNotFoundException.js.map