@langchain/core
Version:
Core LangChain.js abstractions and schemas
14 lines (13 loc) • 467 B
text/typescript
//#region src/tools/utils.d.ts
/**
* Custom error class used to handle exceptions related to tool input parsing.
* It extends the built-in `Error` class and adds an optional `output`
* property that can hold the output that caused the exception.
*/
declare class ToolInputParsingException extends Error {
output?: string;
constructor(message: string, output?: string);
}
//#endregion
export { ToolInputParsingException };
//# sourceMappingURL=utils.d.cts.map