Home / Function/ _dont_raise_error() — langchain Function Reference

_dont_raise_error() — langchain Function Reference

Architecture documentation for the _dont_raise_error() function in test_fallbacks.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  bba537a9_0e45_5d67_c14f_4c870c846580["_dont_raise_error()"]
  905e276b_98d0_eba1_e23b_8303081c1894["test_fallbacks.py"]
  bba537a9_0e45_5d67_c14f_4c870c846580 -->|defined in| 905e276b_98d0_eba1_e23b_8303081c1894
  style bba537a9_0e45_5d67_c14f_4c870c846580 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/core/tests/unit_tests/runnables/test_fallbacks.py lines 65–68

def _dont_raise_error(inputs: dict[str, Any]) -> str:
    if "exception" in inputs:
        return "bar"
    raise ValueError

Domain

Subdomains

Frequently Asked Questions

What does _dont_raise_error() do?
_dont_raise_error() is a function in the langchain codebase, defined in libs/core/tests/unit_tests/runnables/test_fallbacks.py.
Where is _dont_raise_error() defined?
_dont_raise_error() is defined in libs/core/tests/unit_tests/runnables/test_fallbacks.py at line 65.

Analyze Your Own Codebase

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

Try Supermodel Free