UNPKG

donobu

Version:

Create browser automations with an LLM agent and replay them as Playwright scripts.

17 lines 668 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.FlowNotFoundException = void 0; const DonobuException_1 = require("./DonobuException"); class FlowNotFoundException extends DonobuException_1.DonobuException { constructor(message) { super(message, undefined, 404); } static forId(flowId) { return new FlowNotFoundException(`Flow with ID '${flowId}' was not found!`); } static forName(flowName) { return new FlowNotFoundException(`Flow with name '${flowName}' was not found!`); } } exports.FlowNotFoundException = FlowNotFoundException; //# sourceMappingURL=FlowNotFoundException.js.map