donobu
Version:
Create browser automations with an LLM agent and replay them as Playwright scripts.
12 lines • 666 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.UnparseableJsonBodyException = void 0;
const DonobuException_1 = require("./DonobuException");
const JsonUtils_1 = require("../utils/JsonUtils");
class UnparseableJsonBodyException extends DonobuException_1.DonobuException {
constructor(expectedTypeName) {
super(`The body for this request is not parseable to the expected JSON schema of: ${JSON.stringify(JsonUtils_1.JsonUtils.getJsonSchemaFromTypeName(expectedTypeName), null, 2)}`);
}
}
exports.UnparseableJsonBodyException = UnparseableJsonBodyException;
//# sourceMappingURL=UnparseableJsonBodyException.js.map