You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/langchain/graphs
Leonid Ganeline c28cc0f1ac
changed ValueError to ImportError (#5103)
# changed ValueError to ImportError

Code cleaning.
Fixed inconsistencies in ImportError handling. Sometimes it raises
ImportError and sometime ValueError.
I've changed all cases to the `raise ImportError`
Also:
- added installation instruction in the error message, where it missed;
- fixed several installation instructions in the error message;
- fixed several error handling in regards to the ImportError
1 year ago
..
__init__.py Harrison/neo4j (#5078) 1 year ago
neo4j_graph.py Harrison/neo4j (#5078) 1 year ago
networkx_graph.py changed ValueError to ImportError (#5103) 1 year ago