More specific error messages for function loading #1309
Closed
Description
The current message when a function cannot be loaded is:
err_msg = f"Couldn't load function from {filepath} : {str(e)}. This might be due to a missing Python package, or because the function implementation file does not exist, or it is not a valid Python file."
We should return specific error messages for each of the three cases.