UNPKG

donobu

Version:

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

14 lines 767 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.GptPlatformAuthenticationFailedException = void 0; const DonobuException_1 = require("./DonobuException"); /** This is thrown if authentication fails with the given GPT platform. */ class GptPlatformAuthenticationFailedException extends DonobuException_1.DonobuException { constructor(gptPlatform, context) { super(`Failed to authenticate with the '${gptPlatform}' GPT platform!${context ? ' ' + context : ''}`, undefined, 401); this.gptPlatform = gptPlatform; this.context = context; } } exports.GptPlatformAuthenticationFailedException = GptPlatformAuthenticationFailedException; //# sourceMappingURL=GptPlatformAuthenticationFailedException.js.map