Open hansmbakker opened 7 years ago
While creating the Typescript definitions for iotivity-node @zolkis pointed me at the OCF spec.
I found out that the spec seems not to be followed wrt. the Error types - the spec uses Error subclasses (https://github.com/01org/iot-js-api/tree/master/api/ocf#error-handling) while iotivity-node uses the Error base class for everything.
Could anybody comment on that?
While creating the Typescript definitions for iotivity-node @zolkis pointed me at the OCF spec.
I found out that the spec seems not to be followed wrt. the Error types - the spec uses Error subclasses (https://github.com/01org/iot-js-api/tree/master/api/ocf#error-handling) while iotivity-node uses the Error base class for everything.
Could anybody comment on that?