mirror of https://github.com/hwchase17/langchain
Fixed exception type in py files (#11322)
I've refactored the code to ensure that ImportError is consistently handled. Instead of using ValueError as before, I've now followed the standard practice of raising ImportError along with clear and informative error messages. This change enhances the code's clarity and explicitly signifies that any problems are associated with module imports.pull/11278/head^2
parent
c6d7124675
commit
4adb2b399d
Loading…
Reference in New Issue