_on_chain_error() — langchain Function Reference
Architecture documentation for the _on_chain_error() function in base.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 98f0a033_64cf_a17e_a844_59b5893be0a4["_on_chain_error()"] b3ab8001_c14c_4191_ca53_2dbabc99917f["AsyncBaseTracer"] 98f0a033_64cf_a17e_a844_59b5893be0a4 -->|defined in| b3ab8001_c14c_4191_ca53_2dbabc99917f 6071fd13_110e_a9c7_7fe7_393fad76004d["on_chain_error()"] 6071fd13_110e_a9c7_7fe7_393fad76004d -->|calls| 98f0a033_64cf_a17e_a844_59b5893be0a4 72140908_8740_79fb_ea23_239b2c6ed1e4["on_chain_error()"] 72140908_8740_79fb_ea23_239b2c6ed1e4 -->|calls| 98f0a033_64cf_a17e_a844_59b5893be0a4 style 98f0a033_64cf_a17e_a844_59b5893be0a4 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/core/langchain_core/tracers/base.py lines 896–897
async def _on_chain_error(self, run: Run) -> None:
"""Process the Chain Run upon error."""
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does _on_chain_error() do?
_on_chain_error() is a function in the langchain codebase, defined in libs/core/langchain_core/tracers/base.py.
Where is _on_chain_error() defined?
_on_chain_error() is defined in libs/core/langchain_core/tracers/base.py at line 896.
What calls _on_chain_error()?
_on_chain_error() 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