Home / Function/ on_tool_error_common() — langchain Function Reference

on_tool_error_common() — langchain Function Reference

Architecture documentation for the on_tool_error_common() function in _utils.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  9291f8ed_40fd_51b8_b666_6c15384fadfa["on_tool_error_common()"]
  9467e1fa_6130_05ef_040c_a465e50b1e84["BaseFakeCallbackHandlerMixin"]
  9291f8ed_40fd_51b8_b666_6c15384fadfa -->|defined in| 9467e1fa_6130_05ef_040c_a465e50b1e84
  11561b3a_abad_50fd_de5b_392f41ac111e["on_tool_error()"]
  11561b3a_abad_50fd_de5b_392f41ac111e -->|calls| 9291f8ed_40fd_51b8_b666_6c15384fadfa
  style 9291f8ed_40fd_51b8_b666_6c15384fadfa fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/partners/anthropic/tests/unit_tests/_utils.py lines 83–84

    def on_tool_error_common(self) -> None:
        self.errors += 1

Subdomains

Called By

Frequently Asked Questions

What does on_tool_error_common() do?
on_tool_error_common() is a function in the langchain codebase, defined in libs/partners/anthropic/tests/unit_tests/_utils.py.
Where is on_tool_error_common() defined?
on_tool_error_common() is defined in libs/partners/anthropic/tests/unit_tests/_utils.py at line 83.
What calls on_tool_error_common()?
on_tool_error_common() is called by 1 function(s): on_tool_error.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free