PR adds a new method getSDOError that returns an Error object with the string as before, but also includes the abort code as the code property of the Error object, similar to how NodeJS' libraries and others do. I've updated all reject calls to use this new method to reject with.
PR adds a new method
getSDOError
that returns an Error object with the string as before, but also includes the abort code as thecode
property of the Error object, similar to how NodeJS' libraries and others do. I've updated all reject calls to use this new method to reject with.Fixes #3