init(tool:underlyingError:)
Creates a tool call error
Declaration
init(tool: any Tool, underlyingError: any Error)Parameters
- tool:
The tool that produced the error.
- underlyingError:
The underlying error that was thrown during a tool call.
Creates a tool call error
init(tool: any Tool, underlyingError: any Error)The tool that produced the error.
The underlying error that was thrown during a tool call.