langchain
c28cc0f1 - changed ValueError to ImportError (#5103)

Commit
2 years ago
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
Author
Parents
Loading