on_chain_error() — langchain Function Reference
Architecture documentation for the on_chain_error() function in callbacks.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 8a6f8176_168e_ba6c_f910_b47e2ea626a2["on_chain_error()"] 10348507_70e9_81e4_3fb4_4c803e612737["FakeAsyncCallbackHandler"] 8a6f8176_168e_ba6c_f910_b47e2ea626a2 -->|defined in| 10348507_70e9_81e4_3fb4_4c803e612737 7481489d_277d_5df1_fa15_e586ef3c443c["on_chain_error()"] 7481489d_277d_5df1_fa15_e586ef3c443c -->|calls| 8a6f8176_168e_ba6c_f910_b47e2ea626a2 cb7992ef_d2e6_eda2_1cf9_3c529eb9d9e1["on_chain_error_common()"] 8a6f8176_168e_ba6c_f910_b47e2ea626a2 -->|calls| cb7992ef_d2e6_eda2_1cf9_3c529eb9d9e1 7481489d_277d_5df1_fa15_e586ef3c443c["on_chain_error()"] 8a6f8176_168e_ba6c_f910_b47e2ea626a2 -->|calls| 7481489d_277d_5df1_fa15_e586ef3c443c style 8a6f8176_168e_ba6c_f910_b47e2ea626a2 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/partners/groq/tests/unit_tests/fake/callbacks.py lines 347–352
async def on_chain_error(
self,
*args: Any,
**kwargs: Any,
) -> None:
self.on_chain_error_common()
Domain
Subdomains
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/partners/groq/tests/unit_tests/fake/callbacks.py.
Where is on_chain_error() defined?
on_chain_error() is defined in libs/partners/groq/tests/unit_tests/fake/callbacks.py at line 347.
What does on_chain_error() call?
on_chain_error() calls 2 function(s): on_chain_error, on_chain_error_common.
What calls on_chain_error()?
on_chain_error() is called by 1 function(s): on_chain_error.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free