Home / Function/ on_chain_error_common() — langchain Function Reference

on_chain_error_common() — langchain Function Reference

Architecture documentation for the on_chain_error_common() function in fake_callback_handler.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  928fa63a_2c1f_ba61_f484_e3cfaaeeff88["on_chain_error_common()"]
  ea671d84_7d08_f3b7_3eb4_b59396ea8e29["BaseFakeCallbackHandlerMixin"]
  928fa63a_2c1f_ba61_f484_e3cfaaeeff88 -->|defined in| ea671d84_7d08_f3b7_3eb4_b59396ea8e29
  244628aa_1316_8ea9_ca7d_e01a11961dd0["on_chain_error()"]
  244628aa_1316_8ea9_ca7d_e01a11961dd0 -->|calls| 928fa63a_2c1f_ba61_f484_e3cfaaeeff88
  38d7b2fe_69c5_1d10_fadf_70a608ab457f["on_chain_error()"]
  38d7b2fe_69c5_1d10_fadf_70a608ab457f -->|calls| 928fa63a_2c1f_ba61_f484_e3cfaaeeff88
  style 928fa63a_2c1f_ba61_f484_e3cfaaeeff88 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/langchain/tests/unit_tests/callbacks/fake_callback_handler.py lines 74–75

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

Domain

Subdomains

Frequently Asked Questions

What does on_chain_error_common() do?
on_chain_error_common() is a function in the langchain codebase, defined in libs/langchain/tests/unit_tests/callbacks/fake_callback_handler.py.
Where is on_chain_error_common() defined?
on_chain_error_common() is defined in libs/langchain/tests/unit_tests/callbacks/fake_callback_handler.py at line 74.
What calls on_chain_error_common()?
on_chain_error_common() is called by 2 function(s): on_chain_error, on_chain_error.

Analyze Your Own Codebase

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

Try Supermodel Free