We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dba1c61 commit aafe3faCopy full SHA for aafe3fa
src/compas/data/encoders.py
@@ -97,9 +97,9 @@ def object_hook(self, o):
97
raise DecoderError("The data type of the object should be in the following format: '{}/{}'".format(o.__class__.__module__, o.__class__.__name__))
98
99
except ImportError:
100
- raise DecoderError("The module of the data type can't be found.")
+ raise DecoderError("The module of the data type can't be found: {}.".format(o['dtype']))
101
102
except AttributeError:
103
- raise DecoderError("The data type can't be found in the specified module.")
+ raise DecoderError("The data type can't be found in the specified module: {}.".format(o['dtype']))
104
105
return cls.from_data(o['value'])
0 commit comments