Open jakebeal opened 3 years ago
When getting an error from setting a refobj_property.py, it would be good to get a more informative error message. Here is a current example:
File "/usr/local/lib/python3.9/site-packages/sbol3/refobj_property.py", line 35, in from_user raise TypeError(f'Expecting string, got {type(value)}') TypeError: Expecting string, got <class 'NoneType'>
Here's what this is actually communicating: "Trying to reference an object whose URI is not set."
When getting an error from setting a refobj_property.py, it would be good to get a more informative error message. Here is a current example:
Here's what this is actually communicating: "Trying to reference an object whose URI is not set."