donobu
Version:
Create browser automations with an LLM agent and replay them as Playwright scripts.
13 lines • 660 B
TypeScript
import type { ToolCallResult } from '../models/ToolCallResult';
/**
* NOTE: This exception is used by the Donobu library (i.e. the code under src/lib),
* not by the main Donobu engine (i.e. the code under src/managers). This class
* is only meant to aid in SDK integrations with Donobu so that integrations do
* not need to catch bare Errors then pick apart message strings when tools fail.
*/
export declare class ToolCallFailedException extends Error {
readonly toolName: string;
readonly result: ToolCallResult;
constructor(toolName: string, result: ToolCallResult);
}
//# sourceMappingURL=ToolCallFailedException.d.ts.map