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 callbacks.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  60da9ceb_3342_a0c6_ccd8_2a8ee18e7158["on_chain_error_common()"]
  f0bf147f_92f7_4127_bab5_d25b15399ce6["BaseFakeCallbackHandlerMixin"]
  60da9ceb_3342_a0c6_ccd8_2a8ee18e7158 -->|defined in| f0bf147f_92f7_4127_bab5_d25b15399ce6
  b4434970_e890_4476_a354_c0ec6bc82054["on_chain_error()"]
  b4434970_e890_4476_a354_c0ec6bc82054 -->|calls| 60da9ceb_3342_a0c6_ccd8_2a8ee18e7158
  9ab6b943_b5dd_c99c_8813_801a3cff7672["on_chain_error()"]
  9ab6b943_b5dd_c99c_8813_801a3cff7672 -->|calls| 60da9ceb_3342_a0c6_ccd8_2a8ee18e7158
  style 60da9ceb_3342_a0c6_ccd8_2a8ee18e7158 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/partners/openai/tests/unit_tests/fake/callbacks.py lines 77–78

    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/partners/openai/tests/unit_tests/fake/callbacks.py.
Where is on_chain_error_common() defined?
on_chain_error_common() is defined in libs/partners/openai/tests/unit_tests/fake/callbacks.py at line 77.
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