my_error() — langchain Function Reference
Architecture documentation for the my_error() function in test_configurable.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD b0d4c7b2_ad84_1e7e_17c8_60475a91e3fc["my_error()"] 1ec99527_7953_6742_5dd6_09832c933475["MyRunnable"] b0d4c7b2_ad84_1e7e_17c8_60475a91e3fc -->|defined in| 1ec99527_7953_6742_5dd6_09832c933475 style b0d4c7b2_ad84_1e7e_17c8_60475a91e3fc fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/core/tests/unit_tests/runnables/test_configurable.py lines 24–28
def my_error(cls, values: dict[str, Any]) -> Any:
if "_my_hidden_property" in values:
msg = "Cannot set _my_hidden_property"
raise ValueError(msg)
return values
Domain
Subdomains
Source
Frequently Asked Questions
What does my_error() do?
my_error() is a function in the langchain codebase, defined in libs/core/tests/unit_tests/runnables/test_configurable.py.
Where is my_error() defined?
my_error() is defined in libs/core/tests/unit_tests/runnables/test_configurable.py at line 24.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free